Table of Contents

IDBConnectionPool Interface

Represents a source of IDBConnection instances, acting as a simple connection pool abstraction.

Remarks

Implementations may return the same connection on every call (singleton pool, as done by TAureliusConnection) or manage a pool of multiple connections. TAureliusManager and TObjectManager obtain their connection via this interface.

Syntax

Unit: Aurelius.Drivers.Interfaces

IDBConnectionPool = interface(IInterface);

Methods

Name Description
GetConnection Returns an IDBConnection from the pool, creating one if necessary.