Show / Hide Table of Contents

Class BestEffortUnitOfWork

Implementation of the unit of work supporting co-mingling of operations across multiple backing stores (including potential for a mix of transactional and non-transactional stores).

Inheritance
System.Object
Ease.Util.Disposably.SafeDisposable
BestEffortUnitOfWork
Implements
IBestEffortUnitOfWork
IUnitOfWork
System.IDisposable
IRegisterEntities
Inherited Members
Ease.Util.Disposably.SafeDisposable.CheckDisposed()
Ease.Util.Disposably.SafeDisposable.Dispose(System.Boolean)
Ease.Util.Disposably.SafeDisposable.Dispose()
Ease.Util.Disposably.SafeDisposable.IsDisposed
Ease.Util.Disposably.SafeDisposable.Lock
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ease.Repository
Assembly: Ease.Repository.dll
Syntax
public class BestEffortUnitOfWork : SafeDisposable, IBestEffortUnitOfWork, IUnitOfWork, IDisposable, IRegisterEntities

Methods

| Improve this Doc View Source

CompleteAsync()

Declaration
public Task CompleteAsync()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

DisposeManagedObjects()

Declaration
protected override void DisposeManagedObjects()
Overrides
Ease.Util.Disposably.SafeDisposable.DisposeManagedObjects()
| Improve this Doc View Source

NullifyLargeFields()

Declaration
protected override void NullifyLargeFields()
Overrides
Ease.Util.Disposably.SafeDisposable.NullifyLargeFields()
| Improve this Doc View Source

RegisterAdd<TEntity>(TEntity)

Declaration
public TEntity RegisterAdd<TEntity>(TEntity entity)
    where TEntity : class, new()
Parameters
Type Name Description
TEntity entity
Returns
Type Description
TEntity
Type Parameters
Name Description
TEntity
| Improve this Doc View Source

RegisterDelete<TEntity>(TEntity)

Declaration
public void RegisterDelete<TEntity>(TEntity entity)
    where TEntity : class, new()
Parameters
Type Name Description
TEntity entity
Type Parameters
Name Description
TEntity
| Improve this Doc View Source

RegisterForUpdates<TEntity>(IEnumerable<TEntity>)

Declaration
public IEnumerable<TEntity> RegisterForUpdates<TEntity>(IEnumerable<TEntity> entities)
    where TEntity : class, new()
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TEntity> entities
Returns
Type Description
System.Collections.Generic.IEnumerable<TEntity>
Type Parameters
Name Description
TEntity
| Improve this Doc View Source

RegisterStoreFor<TEntity>(IStoreWriter)

Declaration
public void RegisterStoreFor<TEntity>(IStoreWriter storeWriter)
Parameters
Type Name Description
IStoreWriter storeWriter
Type Parameters
Name Description
TEntity

Implements

IBestEffortUnitOfWork
IUnitOfWork
System.IDisposable
IRegisterEntities

Extension Methods

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