Click or drag to resize

RetrievalQuery.ExecuteScalarAsync 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.8.0.0 (5.8.21.0111)
Syntax
public Task<Object> ExecuteScalarAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task<Object>
the value returned by the scalar execution of the query

Implements

IRetrievalQuery.ExecuteScalarAsync(CancellationToken)
See Also