Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
表示 SQL 事务。
Public NotInheritable Class ULTransaction Inherits System.Data.Common.DbTransaction
public sealed class ULTransaction : System.Data.Common.DbTransaction
ULTransaction 类的所有成员,包括所有继承的成员。
Commit 方法
Dispose 方法(从 System.Data.Common.DbTransaction 继承)
Rollback 方法
Connection 属性
IsolationLevel 属性
没有用于 ULTransaction 类的构造函数。要获取 ULTransaction 对象,请使用 ULConnection.BeginTransaction 方法。要将命令与事务关联,请使用 ULCommand.Transaction 属性。
提交或回退事务后,连接恢复为在执行操作时自动提交所有操作。要将更多操作组合在一起,必须创建一个新事务。
Commit 方法Rollback 方法Connection 属性IsolationLevel 属性