DataAccessAdapterCoreExecuteScalarQueryAsync Method |
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 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