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 类

表示 SQL 事务。此类无法继承。

语法
Visual Basic

Public NotInheritable Class SATransaction 
  Inherits DbTransaction
C#

public sealed class SATransaction : DbTransaction
注释

没有用于 SATransaction 的构造函数。要获取 SATransaction 对象,请使用一种 BeginTransaction 方法。要将命令与事务关联,请使用 SACommand.Transaction 属性。

有关详细信息,请参见事务处理使用 SACommand 对象插入、更新和删除行

另请参见

SATransaction 成员
Connection 属性
IsolationLevel 属性
SAIsolationLevel 属性
Commit 方法
Rollback 方法
Save 方法