|
| virtual void | Create (TData data) |
| | Create the newly provided data to storage. More...
|
| |
| virtual void | Create (IEnumerable< TData > data) |
| | Create the newly provided data to storage. More...
|
| |
| virtual ISingleResultQuery< TQueryStrategy, TData > | Retrieve (ISingleResultQuery< TQueryStrategy, TData > singleResultQuery, bool throwExceptionWhenNoQueryResults=true) |
| | Builds and executes the provided singleResultQuery . More...
|
| |
| virtual ICollectionResultQuery< TQueryStrategy, TData > | Retrieve (ICollectionResultQuery< TQueryStrategy, TData > resultQuery) |
| | Builds and executes the provided resultQuery . More...
|
| |
| virtual void | Update (TData data) |
| | Update the provided data in storage. More...
|
| |
| virtual void | Delete (TData data) |
| | Will mark the data as logically (or soft). More...
|
| |
| virtual void | DeleteAll () |
| | Delete all contents (normally by use of a truncate operation) in storage. More...
|
| |
| void | Destroy (TData data) |
| | Remove the provided data from storage. More...
|
| |
| virtual TData | Load (Guid rsn, bool throwExceptionOnMissingEntity=true) |
| | Load the TData from storage identified by the provided rsn . More...
|
| |
Provides basic repository methods for operations with an IDataStore<TData>.
- Template Parameters
-
| TQueryStrategy | The Type of IQueryStrategy. |
| TQueryBuilder | The Type of the Cqrs.Repositories.Queries.QueryBuilder<TQueryStrategy,TData> that will be used to build queries. |
| TData | The Type of data held in storage. |
- Type Constraints
-
| TQueryStrategy | : | IQueryStrategy | |
| TQueryBuilder | : | QueryBuilder | |
| TQueryBuilder | : | TQueryStrategy | |
| TQueryBuilder | : | TData | |
| TData | : | Entity | |