DataConnector | ComponentOne
C1.AdoNet.Json Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase Class / ExecuteBatchCoreAsync Method
List of statements.

In This Topic
    ExecuteBatchCoreAsync Method (C1CommandBase)
    In This Topic
    Execute a list of nonquery in Batch.
    Syntax
    'Declaration
     
    Protected MustOverride Function ExecuteBatchCoreAsync( _
       ByVal statements As IList(Of ISQLStatement), _
       ByVal token As CancellationToken _
    ) As Task(Of Integer)
    protected abstract Task<int> ExecuteBatchCoreAsync( 
       IList<ISQLStatement> statements,
       CancellationToken token
    )

    Parameters

    statements
    List of statements.
    token

    Return Value

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