[]
        
(Showing Draft Content)

C1.AdoNet.Salesforce.C1SalesforceCommand.ExecutePrimitiveSqlAsync

ExecutePrimitiveSqlAsync Method

ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool)

Execute select directly in the Salesforce 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 Salesforce 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 Salesforce server.

Returns
Type Description
Task<SourceTable>

A source table containing the query execution result.

Overrides