DbBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Method

Definition

Sets the DbBatchCommand object at the specified index to a new value.

C#
protected abstract void SetBatchCommand(int index, System.Data.Common.DbBatchCommand batchCommand);

Parameters

index
Int32

The index where the DbBatchCommand object is located.

batchCommand
DbBatchCommand

Applies to

Product Versions
.NET 6, 7, 8, 9, 10