Interface IStoreWriter
Synchronous write abstraction for Stores.
Namespace: Ease.Repository
Assembly: Ease.Repository.dll
Syntax
public interface IStoreWriter
Methods
| Improve this Doc View SourceAdd<TEntity>(TEntity)
Add the new entity to the store.
Declaration
void Add<TEntity>(TEntity entity)
where TEntity : class, new()
Parameters
| Type | Name | Description |
|---|---|---|
| TEntity | entity | The entity to add |
Type Parameters
| Name | Description |
|---|---|
| TEntity | The entity Type |
Delete<TEntity>(TEntity)
Delete the entity from the store.
Declaration
void Delete<TEntity>(TEntity entity)
where TEntity : class, new()
Parameters
| Type | Name | Description |
|---|---|---|
| TEntity | entity | The entity to delete |
Type Parameters
| Name | Description |
|---|---|
| TEntity | The entity Type |
Update<TEntity>(TEntity)
Update the entity in the store.
Declaration
void Update<TEntity>(TEntity entity)
where TEntity : class, new()
Parameters
| Type | Name | Description |
|---|---|---|
| TEntity | entity | The entity to update |
Type Parameters
| Name | Description |
|---|---|
| TEntity | Tye entity Type |