C1.AdoNet.Json Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase Class / ExecutePrimitiveSqlAsync Method
The C1.DataConnector.SelectStatement to be executed on the 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 server.

In This Topic
ExecutePrimitiveSqlAsync Method (C1CommandBase)
In This Topic
Execute select directly in the server pointed by DbConnection.
Syntax
'Declaration
 
Protected MustOverride Function ExecutePrimitiveSqlAsync( _
   ByVal select As SelectStatement, _
   ByVal token As CancellationToken, _
   Optional ByVal needFullData As Boolean _
) As Task(Of SourceTable)
 

Parameters

select
The C1.DataConnector.SelectStatement to be executed on the 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 server.
See Also