Επεξεργασία

Κοινή χρήση μέσω


DbCommand.DbTransaction Property

Definition

Gets or sets the DbTransaction within which this DbCommand object executes.

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

Property Value

The transaction within which a command object of a .NET data provider executes. The default value is a null reference (Nothing in Visual Basic).

Applies to

See also