Microsoft.Data.SqlClient.SqlBatchCommandCollection
public class SqlBatchCommandCollection : DbBatchCommandCollection, ICollection<SqlBatchCommand>, IEnumerable<SqlBatchCommand>, IEnumerable, IList<SqlBatchCommand>
A collection of instances of SqlBatchCommand, contained within a SqlBatch.
Gets or Sets the element at the specified index.
public SqlBatchCommandCollection()
Add a SqlBatchCommand to the end of the SqlBatchCommandCollection.
Determines whether a SqlBatchCommand is in the SqlBatchCommandCollection.
Copies the entire SqlBatchCommandCollection to a one dimensional array, starting at the target index of the target array.
Searches for the specified SqlBatchCommand within the SqlBatchCommandCollection and returns the zero-based index of the first occurrence within the entire SqlBatchCommandCollection.
Inserts an item into the SqlBatchCommandCollection at the specified index.
Removes the first occurrence of a specific SqlBatchCommand object from the collection.