Commit method

Commits the database transaction.

Syntax
Visual Basic

Public Overrides Sub Commit()
C#

public override void Commit();
Remarks

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.

If Commit() fails due to a database error (for example, a referential integrity error), the transaction remains active. Correct the error and call the Commit() method again or call the ULTransaction.Rollback() to complete the transaction.

See also