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