DbBatchCommandCollection.Add(DbBatchCommand) 方法

定義

將指定的 DbBatchCommand 物件加入至 DbBatchCommandCollection

public:
 abstract void Add(System::Data::Common::DbBatchCommand ^ item);
public abstract void Add (System.Data.Common.DbBatchCommand item);
abstract member Add : System.Data.Common.DbBatchCommand -> unit
Public MustOverride Sub Add (item As DbBatchCommand)

參數

item
DbBatchCommand

要加入至 ICollection<T> 的物件。

實作

適用於