Returns a transaction object. 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.
Public Function BeginTransaction( _
ByVal isolationLevel As IsolationLevel _
) As SATransaction
public SATransaction BeginTransaction(
isolationLevel A member of the SAIsolationLevel enumeration. The default value is ReadCommitted.
An SATransaction object representing the new transaction.
To associate a command with a transaction object, use the SACommand.Transaction property.
SATransaction tx = conn.BeginTransaction( SAIsolationLevel.ReadUncommitted );