Gets the ADO.NET transaction in which the command was enrolled, if any.

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

Syntax

C#
public IDbTransaction CommandTransaction { get; }
Visual Basic (Declaration)
Public ReadOnly Property CommandTransaction As IDbTransaction

Remarks

If an application uses a TransactionScope to create transactions, rather than creating ADO.NET transactions, then the CommandTransaction will be null.

See Also