![]() |
CQRS.NET
2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
ISingleResultQuery<TQueryStrategy, TData> Cqrs.Repositories.IRepository< TQueryStrategy, TData >.Retrieve | ( | ISingleResultQuery< TQueryStrategy, TData > | singleResultQuery, |
bool | throwExceptionWhenNoQueryResults = true |
||
) |
Builds and executes the provided singleResultQuery .
singleResultQuery | The ISingleResultQuery<TQueryStrategy,TData> to build and execute. |
throwExceptionWhenNoQueryResults | If true will throw an Exception if no data is found in storage. |
Implemented in Cqrs.Repositories.Repository< TQueryStrategy, TQueryBuilder, TData >.