|
| | MongoDataStore (ILogger logger, MongoCollection< TData > mongoCollection) |
| | Instantiates and Initialises a new instance of the MongoDataStore<TData> class. More...
|
| |
| IEnumerator< TData > | GetEnumerator () |
| | Returns an enumerator that iterates through the collection. 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) by setting Entity.IsDeleted to true 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...
|
| |
| virtual void | Dispose () |
| | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
|
| |
| void | Repair () |
| | Executes the "repairDatabase" command on the current database. More...
|
| |
A IDataStore<TData> that uses MongoDB for storage.
- Template Parameters
-
| TData | The Type of IEntity the IDataStore<TData> will contain. |