Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns a transaction object.
Public Shadows Function BeginTransaction(
ByVal isolationLevel As IsolationLevel
) As SATransaction
public new SATransaction BeginTransaction(IsolationLevel isolationLevel)
A member of the SAIsolationLevel enumeration. The default value is ReadCommitted.
An SATransaction object representing the new transaction.
Commands associated with a transaction object are executed as a single transaction. The transaction is terminated with a call
to the Commit or Rollback methods.
To associate a command with a transaction object, use the SACommand.Transaction property.
SATransaction tx =
conn.BeginTransaction( SAIsolationLevel.ReadUncommitted );