![]()  | 
  
    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. 
   | 
 
A IDataStore<TData> using simplified SQL. More...
 Inheritance diagram for Cqrs.DataStores.SqlDataStore< TData >:Public Member Functions | |
| SqlDataStore (IConfigurationManager configurationManager, ILogger logger) | |
| Instantiates a new instance of the SqlDataStore<TData> class  More... | |
| IEnumerator< TData > | GetEnumerator () | 
| Returns an enumerator that iterates through the collection.  More... | |
| void | Dispose () | 
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  More... | |
| virtual void | Add (TData data) | 
| Add the provided data  to the data store and persist the change.  More... | |
| virtual void | Add (IEnumerable< TData > data) | 
| Add the provided data  to the data store and persist the change.  More... | |
| virtual 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... | |
| virtual void | RemoveAll () | 
| Remove all contents (normally by use of a truncate operation) from the data store and persist the change.  More... | |
| virtual void | Update (TData data) | 
| Update the provided data  in the data store and persist the change.  More... | |
Protected Member Functions | |
| virtual DataContext | CreateDbDataContext () | 
| Locate the connection settings and create a DataContext.  More... | |
| virtual IEnumerable< string > | GetWriteableConnectionStrings () | 
| Locate the connection settings for persisting data.  More... | |
Properties | |
| IConfigurationManager | ConfigurationManager [get] | 
| DataContext | DbDataContext [get] | 
| Gets or sets the DataContext.  More... | |
| IEnumerable< string > | WriteableConnectionStrings [get] | 
| Gets or sets the list of writeable connection strings for data mirroring  More... | |
| IEnumerable< DataContext > | WriteableConnections [get] | 
| Gets or sets the list of writeable DataContexts for data mirroring  More... | |
| Table< TData > | Table [get] | 
| Gets or sets the readable Table  More... | |
| ILogger | Logger [get] | 
| Gets or sets the Logger  More... | |
| Expression | Expression [get] | 
| Gets the expression tree that is associated with the instance of T:System.Linq.IQueryable.  More... | |
| Type | ElementType [get] | 
| Gets the type of the element(s) that are returned when the expression tree associated with this instance of T:System.Linq.IQueryable is executed.  More... | |
| IQueryProvider | Provider [get] | 
| Gets the query provider that is associated with this data source.  More... | |
A IDataStore<TData> using simplified SQL.
| TData | : | Entity |