Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定 ULCommand 执行时所处的 ULTransaction。
Public Shadows Property Transaction As ULTransaction
public new ULTransaction Transaction {get;set;}
ULCommand 执行时所在的 ULTransaction。它应该是由 ULCommand.Connection 所指定的连接的当前事务。缺省值为空值引用(在 Visual Basic 中是 Nothing)。
如果事务提交或回退后重用命令,则需要重置该属性。
这是 System.Data.IDbCommand.Transaction 和 System.Data.Common.DbCommand.Transaction 的强类型版本。