SelfServicingExtensionMethodsGetScalarAsyncTValue Method (IDao, DynamicQuery, CancellationToken) |
Async variant of
GetScalarTValue(IDao, DynamicQuery).
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
Namespace:
SD.LLBLGen.Pro.QuerySpec.SelfServicing
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax Remarks
Use nullable(Of T) for scalars which are a value type, to avoid crashes when the scalar query returns a NULL value.
See Also