Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere .NET 2.0 API 参考 » iAnywhere.Data.SQLAnywhere 命名空间 (.NET 2.0) » SATransaction 类

 

SATransaction 成员

公共属性
成员名称 说明

Connection 属性

与事务关联的 SAConnection 对象;如果事务不再有效,则为空值引用(在 Visual Basic 中是 Nothing)。

IsolationLevel 属性

指定此事务的隔离级别。

SAIsolationLevel 属性

指定此事务的隔离级别。

公共方法
成员名称 说明

Commit 方法

提交数据库事务。

[external link] Dispose(继承自 DbTransaction)

释放 [external link] DbTransaction 使用的非托管资源。

Rollback 方法

将事务从待执行状态回退。

Save 方法

在事务中创建一个用于回退部分事务的保存点,并指定保存点的名称。

另请参见