<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview2.25289.6" />

Microsoft.Data.SqlClient.SqlBatchCommandCollection

A collection of instances of SqlBatchCommand, contained within a SqlBatch.
public SqlBatchCommand this[int index] { get; set; }

Gets or Sets the element at the specified index.

public void Add(SqlBatchCommand item)

Add a SqlBatchCommand to the end of the SqlBatchCommandCollection.

public bool Contains(SqlBatchCommand item)

Determines whether a SqlBatchCommand is in the SqlBatchCommandCollection.

public void CopyTo(SqlBatchCommand[] array, int arrayIndex)

Copies the entire SqlBatchCommandCollection to a one dimensional array, starting at the target index of the target array.

public int IndexOf(SqlBatchCommand item)

Searches for the specified SqlBatchCommand within the SqlBatchCommandCollection and returns the zero-based index of the first occurrence within the entire SqlBatchCommandCollection.

public void Insert(int index, SqlBatchCommand item)

Inserts an item into the SqlBatchCommandCollection at the specified index.

public bool Remove(SqlBatchCommand item)

Removes the first occurrence of a specific SqlBatchCommand object from the collection.