DataConnector | ComponentOne
C1.AdoNet.OData Assembly / C1.AdoNet.OData Namespace / C1ODataCommand Class / ExecuteBatchCoreAsync Method
List of statements.

In This Topic
    ExecuteBatchCoreAsync Method (C1ODataCommand)
    In This Topic
    Executes a list of non-query statements as a batch.
    Syntax
    'Declaration
     
    Protected Overrides NotOverridable Function ExecuteBatchCoreAsync( _
       ByVal statements As IList(Of ISQLStatement), _
       ByVal token As CancellationToken _
    ) As Task(Of Integer)
    protected override Task<int> ExecuteBatchCoreAsync( 
       IList<ISQLStatement> statements,
       CancellationToken token
    )

    Parameters

    statements
    List of statements.
    token

    Return Value

    A task representing the asynchronous operation. The generic parameter int is set to the number of rows affected by the execution of this command.
    See Also