CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Repositories.IRepository< TQueryStrategy, TData > Interface Template Reference
+ Inheritance diagram for Cqrs.Repositories.IRepository< TQueryStrategy, TData >:

Public Member Functions

void Create (TData data)
 
void Create (IEnumerable< TData > data)
 
ISingleResultQuery< TQueryStrategy, TData > Retrieve (ISingleResultQuery< TQueryStrategy, TData > singleResultQuery, bool throwExceptionWhenNoQueryResults=true)
 
ICollectionResultQuery< TQueryStrategy, TData > Retrieve (ICollectionResultQuery< TQueryStrategy, TData > resultQuery)
 
void Update (TData data)
 
void Delete (TData data)
 Will mark the data as logically (or soft). More...
 
void DeleteAll ()
 
void Destroy (TData data)
 
TData Load (Guid rsn, bool throwExceptionOnMissingEntity=true)