IDBConnection Interface
Represents a database connection used by Aurelius for SQL execution and transaction management.
Remarks
IDBConnection is the fundamental database abstraction in Aurelius. Driver adapters (FireDAC, UniDAC, dbExpress, native drivers, etc.) implement this interface to bridge Aurelius with specific database access libraries. Pass an IDBConnection instance to TObjectManager.Create to create a manager backed by that connection.
Syntax
Unit: Aurelius.Drivers.Interfaces
IDBConnection = interface(IInterface);
Methods
| Name | Description |
|---|---|
| BeginTransaction | Begins a new database transaction and returns its handle. |
| Connect | Opens the underlying database connection. |
| CreateStatement | Creates and returns a new SQL statement associated with this connection. |
| Disconnect | Closes the underlying database connection. |
| IsConnected | Returns True if the connection is currently open. |
| SqlDialect | Returns the SQL dialect identifier for this connection. |