![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless 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 >.