[]
        
(Showing Draft Content)

C1.DataConnector.AdoNet.C1CommandBase.ExecutePrimitiveSqlAsync

ExecutePrimitiveSqlAsync Method

ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool)

Execute select directly in the server pointed by DbConnection.

Declaration
protected abstract Task<SourceTable> ExecutePrimitiveSqlAsync(SelectStatement select, CancellationToken token, bool needFullData = false)
Parameters
Type Name Description
SelectStatement select

The SelectStatement to be executed on the server.

CancellationToken token

The cancellation token to abort the query execution at any moment.

bool needFullData

A boolean indication if all the rows from the referred tables in select needs to be retrieved from the server.

Returns
Type Description
Task<SourceTable>