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.

◆ Retrieve() [2/2]

virtual ISingleResultQuery<TQueryStrategy, TData> Cqrs.Repositories.Repository< TQueryStrategy, TQueryBuilder, TData >.Retrieve ( ISingleResultQuery< TQueryStrategy, TData >  singleResultQuery,
bool  throwExceptionWhenNoQueryResults = true 
)
virtual

Builds and executes the provided singleResultQuery .

Parameters
singleResultQueryThe ISingleResultQuery<TQueryStrategy,TData> to build and execute.
throwExceptionWhenNoQueryResultsIf true will throw an Exception if no data is found in storage.

Implements Cqrs.Repositories.IRepository< TQueryStrategy, TData >.