[]
        
(Showing Draft Content)

C1.DataConnector.AdoNet.C1CommandBase.ExecuteNonQueryCoreAsync

ExecuteNonQueryCoreAsync Method

ExecuteNonQueryCoreAsync(ISQLStatement, CancellationToken, SourceTable)

The abstract core method provided to execute a non-query statement.

Declaration
protected abstract Task<int> ExecuteNonQueryCoreAsync(ISQLStatement statement, CancellationToken token, SourceTable sourceTable = null)
Parameters
Type Name Description
ISQLStatement statement

The statement to be executed as non query.

CancellationToken token

The cancellation token to abort the operation at any moment.

SourceTable sourceTable

The source table to be sued to perform the non query.

Returns
Type Description
Task<int>

The number rows effected. Otherwise, -1 when an error happens.