DbCommand.IDbCommand.Transaction DbCommand.IDbCommand.Transaction DbCommand.IDbCommand.Transaction Property

定义

获取或设置将在其中执行此 DbCommand 对象的 DbTransactionGets 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; }
 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).

实现

注解

有关详情,请参阅TransactionFor more information, see Transaction.

适用于

另请参阅