[]
        
(Showing Draft Content)

C1.AdoNet.OData.C1ODataCommand.ExecuteBatchCoreAsync

ExecuteBatchCoreAsync Method

ExecuteBatchCoreAsync(IList<ISQLStatement>, CancellationToken)

Executes a list of non-query statements as a batch.

Declaration
protected override 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 asynchronous operation. The generic parameter int is set to the number of rows affected by the execution of this command.

Overrides