[]
        
(Showing Draft Content)

C1.AdoNet.OData.C1ODataCommand.ExecutePrimitiveSqlAsync

ExecutePrimitiveSqlAsync Method

ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool)

Executes a select directly on the OData server.

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

The SelectStatement to be executed on the OData server.

CancellationToken token

The cancellation token to abort the execution of the non-query statement before its completion.

bool needFullData

A boolean that indicates if should retrieve all the rows from the referred tables in the select needs to be retrieved from the OData server.

Returns
Type Description
Task<SourceTable>

A table that contains the result from the execution of the query.

Overrides