Condividi tramite


SqlBatchCommandCollection.Insert Metodo

Definizione

Overload

Insert(Int32, SqlBatchCommand)

Inserisce un elemento nell'oggetto SqlBatchCommandCollection in corrispondenza dell'indice specificato.

Insert(Int32, DbBatchCommand)

Inserisce l'indice specificato dell'oggetto DbBatchCommand con il nome specificato nella raccolta in corrispondenza dell'indice specificato.

Insert(Int32, SqlBatchCommand)

Inserisce un elemento nell'oggetto SqlBatchCommandCollection in corrispondenza dell'indice specificato.

public:
 virtual void Insert(int index, Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public void Insert (int index, Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.Insert : int * Microsoft.Data.SqlClient.SqlBatchCommand -> unit
Public Sub Insert (index As Integer, item As SqlBatchCommand)

Parametri

index
Int32

Implementazioni

Eccezioni

Si applica a

Insert(Int32, DbBatchCommand)

Inserisce l'indice specificato dell'oggetto DbBatchCommand con il nome specificato nella raccolta in corrispondenza dell'indice specificato.

public:
 override void Insert(int index, System::Data::Common::DbBatchCommand ^ item);
public override void Insert (int index, System.Data.Common.DbBatchCommand item);
override this.Insert : int * System.Data.Common.DbBatchCommand -> unit
Public Overrides Sub Insert (index As Integer, item As DbBatchCommand)

Parametri

index
Int32

Indice in corrispondenza del quale inserire l'oggetto DbBatchCommand.

item
DbBatchCommand

Oggetto da inserire in IList<T>.

Si applica a