Sdílet prostřednictvím


SqlBatchCommandCollection.Add Metoda

Definice

Přetížení

Add(SqlBatchCommand)

Přidejte na SqlBatchCommand konec .SqlBatchCommandCollection

Add(DbBatchCommand)

Přidá zadaný DbBatchCommand objekt do objektu ICollection<T>.

Add(SqlBatchCommand)

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)

Parametry

Implementuje

Platí pro

Add(DbBatchCommand)

Přidá zadaný DbBatchCommand objekt do objektu 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)

Parametry

item
DbBatchCommand

Objekt, který se má přidat do objektu ICollection<T>.

Platí pro