I​Batch​Executor I​Batch​Executor Interface

Definition

public interface IBatchExecutorPublic Interface IBatchExecutor

Methods

Execute(IEnumerable<ModificationCommandBatch>, IRelationalConnection) Execute(IEnumerable(Of ModificationCommandBatch), IRelationalConnection)

int Execute(IEnumerable<ModificationCommandBatch> commandBatches, IRelationalConnection connection)Function Execute(commandBatches As IEnumerable(Of ModificationCommandBatch), connection As IRelationalConnection) As Integer
Parameters
commandBatches
System.Collections.Generic.IEnumerable<ModificationCommandBatch> System.Collections.Generic.IEnumerable(Of ModificationCommandBatch)
Returns
System.Int32 System.Int32

ExecuteAsync(IEnumerable<ModificationCommandBatch>, IRelationalConnection, CancellationToken) ExecuteAsync(IEnumerable(Of ModificationCommandBatch), IRelationalConnection, CancellationToken)

Task<int> ExecuteAsync(IEnumerable<ModificationCommandBatch> commandBatches, IRelationalConnection connection, CancellationToken cancellationToken = null)Function ExecuteAsync(commandBatches As IEnumerable(Of ModificationCommandBatch), connection As IRelationalConnection, cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
commandBatches
System.Collections.Generic.IEnumerable<ModificationCommandBatch> System.Collections.Generic.IEnumerable(Of ModificationCommandBatch)
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.Int32> System.Threading.Tasks.Task(Of System.Int32)