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

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference


ULTransaction class

Represents a SQL transaction. This class cannot be inherited.

Visual Basic
Public NotInheritable Class ULTransaction
  Inherits DbTransaction
public sealed class ULTransaction: DbTransaction

There is no constructor for ULTransaction. To obtain a ULTransaction object, use the ULConnection.BeginTransaction(). To associate a command with a transaction, use the ULCommand.Transaction.

Once a transaction has been committed or rolled back, the connection reverts to automatically committing all operations as they are executed. To group more operations together, a new transaction must be created.

Inherits: System.Data.Common.DbTransaction

Implements: System.Data.IDbTransaction, System.IDisposable

See also

ULTransaction members
Connection property
IsolationLevel property
Commit method
Rollback method