Begins a transaction against the underlying database.

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

Syntax

C#
IDbTransaction BeginTransaction()
Visual Basic (Declaration)
Function BeginTransaction As IDbTransaction

Return Value

The IDbTransaction

Examples

CopyC#
using (IDbTransaction tx = unitOfWork.BeginTransaction())
{
  // ...
}

See Also