Begins a new IUnitOfWork on the default LightSpeedContext.

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

Syntax

C#
[ObsoleteAttribute("Create a LightSpeedContext and call the CreateUnitOfWork instance method instead")]
public static IUnitOfWork BeginUnitOfWork()
Visual Basic (Declaration)
<ObsoleteAttribute("Create a LightSpeedContext and call the CreateUnitOfWork instance method instead")> _
Public Shared Function BeginUnitOfWork As IUnitOfWork

Return Value

A new IUnitOfWork.

See Also