DbCommand.Transaction Propiedad

Definición

Obtiene o establece DbTransaction dentro del cual se ejecuta este objeto DbCommand.Gets or sets the DbTransaction within which this DbCommand object executes.

public:
 property System::Data::Common::DbTransaction ^ Transaction { System::Data::Common::DbTransaction ^ get(); void set(System::Data::Common::DbTransaction ^ value); };
public System.Data.Common.DbTransaction Transaction { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbTransaction? Transaction { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbTransaction Transaction { get; set; }
member this.Transaction : System.Data.Common.DbTransaction with get, set
[<System.ComponentModel.Browsable(false)>]
member this.Transaction : System.Data.Common.DbTransaction with get, set
Public Property Transaction As DbTransaction

Valor de propiedad

DbTransaction

La transacción dentro de la cual se ejecuta un objeto Command de un proveedor de datos .NET Framework.The transaction within which a Command object of a .NET Framework data provider executes. El valor predeterminado es una referencia nula (Nothing en Visual Basic).The default value is a null reference (Nothing in Visual Basic).

Atributos

Se aplica a