TransactionManager.CurrentTransaction Property

 

Gets the current active transaction.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public Transaction CurrentTransaction { get; }

To get the outermost transaction, use CurrentTransaction.TopLevelTransaction.

Return to top
Show: