DbCommand.IDbCommand.Transaction 属性
定义
获取或设置将在其中执行此 DbCommand 对象的 DbTransaction。Gets or sets the DbTransaction within which this DbCommand object executes.
property System::Data::IDbTransaction ^ System::Data::IDbCommand::Transaction { System::Data::IDbTransaction ^ get(); void set(System::Data::IDbTransaction ^ value); };
System.Data.IDbTransaction? System.Data.IDbCommand.Transaction { get; set; }
System.Data.IDbTransaction System.Data.IDbCommand.Transaction { get; set; }
member this.System.Data.IDbCommand.Transaction : System.Data.IDbTransaction with get, set
Property Transaction As IDbTransaction Implements IDbCommand.Transaction
属性值
在其中执行 .NET Framework 数据提供程序的 Command
对象的事务。The transaction within which a Command
object of a .NET Framework data provider executes. 默认值为空引用(在 Visual Basic 中为 Nothing
)。The default value is a null reference (Nothing
in Visual Basic).
实现
注解
有关详细信息,请参阅 Transaction。For more information, see Transaction.