SelfServicingExtensionMethodsGetScalarAsyncTValue Method (IDao, DynamicQuery, ITransaction) |
Async variant of
GetScalarTValue(IDao, DynamicQuery, ITransaction).
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.11.0.0 (5.11.23.1114)
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