Factory class for creating DistributedUnitOfWork instances
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public class DistributedUnitOfWorkFactory<TUnitOfWork> : IUnitOfWorkFactory where TUnitOfWork : DistributedUnitOfWork, IUnitOfWork |
Visual Basic (Declaration) |
---|
Public Class DistributedUnitOfWorkFactory(Of TUnitOfWork As {DistributedUnitOfWork, IUnitOfWork}) _ Implements IUnitOfWorkFactory |
Type Parameters
- TUnitOfWork
- The specifically typed UnitOfWork to be created
Examples
To use set the following configuration option on your lightSpeedContext entry:
factoryClass="Mindscape.LightSpeed.ServiceModel.DistributedUnitOfWorkFactory, Mindscape.LightSpeed.ServiceModel"
Inheritance Hierarchy
System..::.Object
Mindscape.LightSpeed.ServiceModel..::.DistributedUnitOfWorkFactory<(Of <(TUnitOfWork>)>)
Mindscape.LightSpeed.ServiceModel..::.DistributedUnitOfWorkFactory<(Of <(TUnitOfWork>)>)