[]
        
(Showing Draft Content)

C1.AdoNet.ServiceNow.C1ServiceNowCommand.ExecutePrimitiveSqlAsync

ExecutePrimitiveSqlAsync Method

ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool)

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

Returns
Type Description
Task<SourceTable>

A source table containing the query execution result.

Overrides