AsyncSelfServicingExtensionMethodsGetScalarAsyncTValue Method (IDao, DynamicQuery, ITransaction, CancellationToken) |
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.SelfServicingAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
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