AsyncAdapterExtensionMethods.FetchSingleAsync Method |
Name | Description | |
---|---|---|
![]() ![]() | FetchSingleAsync<T>(IDataAccessAdapter, DynamicQuery<T>) |
Async variant of FetchSingle<T>(IDataAccessAdapter, DynamicQuery<T>).
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Async variant of FetchSingle<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<T>(IDataAccessAdapter, DynamicQuery<T>, CancellationToken) |
Async variant of FetchSingle<T>(IDataAccessAdapter, DynamicQuery<T>).
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>, CancellationToken) |
Async variant of FetchSingle<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|