Interface IBestEffortUnitOfWork
Interface for unit of work pattern where best-effort transaction is to be managed by hand rather than by underlying store.
Inherited Members
System.IDisposable.Dispose()
Namespace: Ease.Repository
Assembly: Ease.Repository.dll
Syntax
public interface IBestEffortUnitOfWork : IUnitOfWork, IDisposable, IRegisterEntities
Methods
| Improve this Doc View SourceRegisterStoreFor<TEntity>(IStoreWriter)
Respositories must register the IStoreWriter to use for entity types that they wish the unit of work to manage.
Declaration
void RegisterStoreFor<TEntity>(IStoreWriter storeWriter)
Parameters
| Type | Name | Description |
|---|---|---|
| IStoreWriter | storeWriter | The |
Type Parameters
| Name | Description |
|---|---|
| TEntity | The entity Type the |