Initializes the DistributedUnitOfWork and configures the WCF bindings from application configuration.
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public DistributedUnitOfWork( LightSpeedContext context ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ context As LightSpeedContext _ ) |
Parameters
- context
- Type: Mindscape.LightSpeed..::.LightSpeedContext
The LightSpeedContext to be used when creating the DistributedUnitOfWork.
Remarks
You must have an endpoint named LightSpeedDistributedUnitOfWorkEndpoint defined which points
to the DistributedUnitOfWork service endpoint.