Show / Hide Table of Contents

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
IUnitOfWork.CompleteAsync()
System.IDisposable.Dispose()
IRegisterEntities.RegisterAdd<TEntity>(TEntity)
IRegisterEntities.RegisterForUpdates<TEntity>(IEnumerable<TEntity>)
IRegisterEntities.RegisterDelete<TEntity>(TEntity)
Namespace: Ease.Repository
Assembly: Ease.Repository.dll
Syntax
public interface IBestEffortUnitOfWork : IUnitOfWork, IDisposable, IRegisterEntities

Methods

| Improve this Doc View Source

RegisterStoreFor<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 IStoreWriter to use for updating the store.

Type Parameters
Name Description
TEntity

The entity Type the storeWriter is for.

Extension Methods

ChangeTrackingExtensions.CurrentState<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX