Partilhar via


AdoDotNetConnectionSupport.CurrentTransaction Property

Definition

Gets the DbTransaction object currently being used by the current connection support instance.

protected:
 property System::Data::Common::DbTransaction ^ CurrentTransaction { System::Data::Common::DbTransaction ^ get(); void set(System::Data::Common::DbTransaction ^ value); };
protected System.Data.Common.DbTransaction CurrentTransaction { get; set; }
member this.CurrentTransaction : System.Data.Common.DbTransaction with get, set
Protected Property CurrentTransaction As DbTransaction

Property Value

A DbTransaction object instance, or null if not currently in a transaction.

Applies to