AsyncSelfServicingExtensionMethods.GetSingleAsync Method |
Name | Description | |
---|---|---|
GetSingleAsync<TEntity>(EntityQuery<TEntity>) |
Async variant of GetSingle<TEntity>(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.
| |
GetSingleAsync<TEntity>(EntityQuery<TEntity>, ITransaction) |
Async variant of GetSingle<TEntity>(EntityQuery<TEntity>, ITransaction).
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.
| |
GetSingleAsync<TEntity>(EntityQuery<TEntity>, CancellationToken) |
Async variant of GetSingle<TEntity>(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.
| |
GetSingleAsync<T>(IDao, DynamicQuery<T>) |
Async variant of GetSingle<T>(IDao, 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.
| |
GetSingleAsync<TEntity>(EntityQuery<TEntity>, ITransaction, CancellationToken) |
Async variant of GetSingle<TEntity>(EntityQuery<TEntity>, ITransaction).
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.
| |
GetSingleAsync<T>(IDao, DynamicQuery<T>, ITransaction) |
Async variant of GetSingle<T>(IDao, DynamicQuery<T>, ITransaction).
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.
| |
GetSingleAsync<T>(IDao, DynamicQuery<T>, CancellationToken) |
Async variant of GetSingle<T>(IDao, 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.
| |
GetSingleAsync<T>(IDao, DynamicQuery<T>, ITransaction, CancellationToken) |
Async variant of GetSingle<T>(IDao, DynamicQuery<T>, ITransaction).
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.
|