DbBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) 方法

定义

将指定索引处的 DbBatchCommand 对象设置为新值。

protected:
 abstract void SetBatchCommand(int index, System::Data::Common::DbBatchCommand ^ batchCommand);
protected abstract void SetBatchCommand (int index, System.Data.Common.DbBatchCommand batchCommand);
abstract member SetBatchCommand : int * System.Data.Common.DbBatchCommand -> unit
Protected MustOverride Sub SetBatchCommand (index As Integer, batchCommand As DbBatchCommand)

参数

index
Int32

DbBatchCommand 对象所在的索引。

batchCommand
DbBatchCommand

适用于