Condividi tramite


SqlBatchCommandCollection.Add Metodo

Definizione

Overload

Add(SqlBatchCommand)

Aggiungere un SqlBatchCommand oggetto alla fine di SqlBatchCommandCollection.

Add(DbBatchCommand)

Aggiunge l'oggetto DbBatchCommand specificato all'oggetto ICollection<T>.

Add(SqlBatchCommand)

Aggiungere un SqlBatchCommand oggetto alla fine di SqlBatchCommandCollection.

public:
 virtual void Add(Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public void Add (Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.Add : Microsoft.Data.SqlClient.SqlBatchCommand -> unit
Public Sub Add (item As SqlBatchCommand)

Parametri

Implementazioni

Si applica a

Add(DbBatchCommand)

Aggiunge l'oggetto DbBatchCommand specificato all'oggetto ICollection<T>.

public:
 override void Add(System::Data::Common::DbBatchCommand ^ item);
public override void Add (System.Data.Common.DbBatchCommand item);
override this.Add : System.Data.Common.DbBatchCommand -> unit
Public Overrides Sub Add (item As DbBatchCommand)

Parametri

item
DbBatchCommand

Oggetto da aggiungere all'oggetto ICollection<T>.

Si applica a