DataAccessAdapterCoreExecuteScalarQueryAsync Method |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public virtual Task<Object> ExecuteScalarQueryAsync(
IRetrievalQuery queryToExecute,
CancellationToken cancellationToken
)
Public Overridable Function ExecuteScalarQueryAsync (
queryToExecute As IRetrievalQuery,
cancellationToken As CancellationToken
) As Task(Of Object)
Parameters
- queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
a scalar query, which is a SELECT query which returns a single value - cancellationToken
- Type: System.ThreadingCancellationToken
the cancellation token
Return Value
Type:
TaskObjectthe scalar value returned from the query.
See Also