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.DataStores.IDataStore< TData > Interface Template Reference

A data store capable of being queried and modified More...

+ Inheritance diagram for Cqrs.DataStores.IDataStore< TData >:

Public Member Functions

void Add (TData data)
 Add the provided data to the data store and persist the change. More...
 
void Add (IEnumerable< TData > data)
 Add the provided data to the data store and persist the change. More...
 
void Remove (TData data)
 Will mark the data as logically (or soft) deleted by setting Entity.IsLogicallyDeleted to true in the data store and persist the change. More...
 
void Destroy (TData data)
 Remove the provided data (normally by IEntity.Rsn) from the data store and persist the change. More...
 
void RemoveAll ()
 Remove all contents (normally by use of a truncate operation) from the data store and persist the change. More...
 
void Update (TData data)
 Update the provided data in the data store and persist the change. More...
 

Detailed Description

A data store capable of being queried and modified