DataConnector | ComponentOne
C1.AdoNet.Salesforce Assembly / C1.AdoNet.Salesforce Namespace / C1SalesforceCommand Class / ExecutePrimitiveSqlAsync Method
The C1.DataConnector.SelectStatement to be executed on the Salesforce server.
The cancellation token to abort the query execution at any moment.
A boolean indication if all the rows from the referred tables in select needs to be retrieved from the Salesforce server.

In This Topic
    ExecutePrimitiveSqlAsync Method (C1SalesforceCommand)
    In This Topic
    Execute select directly in the Salesforce server.
    Syntax
    'Declaration
     
    Protected Overrides NotOverridable Function ExecutePrimitiveSqlAsync( _
       ByVal select As SelectStatement, _
       ByVal token As CancellationToken, _
       ByVal needFullData As Boolean _
    ) As Task(Of SourceTable)
    protected override Task<SourceTable> ExecutePrimitiveSqlAsync( 
       SelectStatement select,
       CancellationToken token,
       bool needFullData
    )

    Parameters

    select
    The C1.DataConnector.SelectStatement to be executed on the Salesforce server.
    token
    The cancellation token to abort the query execution at any moment.
    needFullData
    A boolean indication if all the rows from the referred tables in select needs to be retrieved from the Salesforce server.

    Return Value

    A source table containing the query execution result.
    See Also