Table of Contents

IDBTransaction Interface

Represents an active database transaction, providing commit and rollback operations.

Remarks

Obtain an instance by calling IDBConnection.BeginTransaction. Aurelius supports nested transactions: if a transaction is already active when BeginTransaction is called again, the inner commit or rollback has no effect. Only the outermost transaction controls the actual database commit or rollback.

Syntax

Unit: Aurelius.Drivers.Interfaces

IDBTransaction = interface(IInterface);

Methods

Name Description
Commit Commits the transaction, persisting all changes to the database.
Rollback Rolls back the transaction, discarding all changes made since it was started.