Provides common implementation for overloads of IUnitOfWork methods.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public abstract class UnitOfWorkBase : IUnitOfWork, 
	IEnumerable<Entity>, IEnumerable, IDisposable
Visual Basic (Declaration)
Public MustInherit Class UnitOfWorkBase _
	Implements IUnitOfWork, IEnumerable(Of Entity),  _
	IEnumerable, IDisposable

Remarks

Consider deriving from this class if you are creating a mock, fake or stub IUnitOfWork implementations for use in unit testing, and wish to reduce the number of methods your test double must implement. For production code, use UnitOfWork or a derived class thereof.

Inheritance Hierarchy

See Also