AdapterExtensionMethodsFetchSingleAsyncT Method (IDataAccessAdapter, DynamicQueryT) |
Namespace: SD.LLBLGen.Pro.QuerySpec.Adapter
public static Task<T> FetchSingleAsync<T>( this IDataAccessAdapter adapter, DynamicQuery<T> query )
Exception | Condition |
---|---|
NotSupportedException | |
NotSupportedException | Thrown if the resultset has 0 or 2 or more elements, as Single requires a single value in the resultset. |