IRetrievalQueryExecuteScalarAsync 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.7.0.0 (5.7.0)
Syntax Task<Object> ExecuteScalarAsync(
CancellationToken cancellationToken
)
Function ExecuteScalarAsync (
cancellationToken As CancellationToken
) As Task(Of Object)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskObjectthe value returned by the scalar execution of the query
See Also