共用方式為


AdoDotNetConnectionSupport.Transaction Property

Definition

Retrieves the current IDbTransaction, if any.

protected:
 property System::Data::IDbTransaction ^ Transaction { System::Data::IDbTransaction ^ get(); };
protected System.Data.IDbTransaction Transaction { get; }
member this.Transaction : System.Data.IDbTransaction
Protected ReadOnly Property Transaction As IDbTransaction

Property Value

Returns an IDbTransaction object instance; returns null if not currently in a transaction.

Applies to