[]
        
(Showing Draft Content)

C1.DataConnector.AdoNet.C1CommandBase.ExecuteBatchCoreAsync

ExecuteBatchCoreAsync Method

ExecuteBatchCoreAsync(IList<ISQLStatement>, CancellationToken)

Execute a list of nonquery in Batch.

Declaration
protected abstract Task<int> ExecuteBatchCoreAsync(IList<ISQLStatement> statements, CancellationToken token)
Parameters
Type Name Description
IList<ISQLStatement> statements

List of statements.

CancellationToken token
Returns
Type Description
Task<int>

A task representing the assynchronous operation. The generic parameter int gives the number of affected rows by the execution of this command.