Exposes the transaction in progress, or NULL if there is not one

Namespace: Contracts.Databases
Assembly: Contracts (in Contracts.dll)

ReadOnly Property Transaction() As DbTransaction
This language is not supported or no code example is available.
DbTransaction Transaction {get;}
This language is not supported or no code example is available.
 
property DbTransaction^ Transaction { 
DbTransaction^ get( ); 
}
This language is not supported or no code example is available.
function get Transaction() : DbTransaction;
This language is not supported or no code example is available.

Property Value

Type: DbTransaction

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1