Click or drag to resize

RetrievalQueryExecuteScalarAsync Method

Async variant of ExecuteScalar. Executes the query contained by the IQuery instance as a scalar query.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public Task<Object> ExecuteScalarAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskObject
the value returned by the scalar execution of the query

Implements

IRetrievalQueryExecuteScalarAsync(CancellationToken)
See Also