Show/Hide Toolbars

TMS XData Documentation

Navigation: Design-Time Components

TXDataConnectionPool Component

Scroll Prev Top Next More

TXDataConnectionPool component creates IDBConnectionPool instances using a TAureliusConnection to create the IDBConnection interfaces.

 

Properties

Name

Description

Connection: TAureliusConnection

Contains a reference to a TAureliusConnection component, used to create IDBConnection interfaces used by the pool.

Size: Integer

The size of the pool to be created.

 

Events

Name

Description

OnPoolInterfaceCreate: TPoolInterfaceEvent

Fired when the IDBConnectionPool interface is created by the TXDataConnectionPool component.

 

TPoolInterfaceEvent = procedure(Sender: TObject; var Pool: IDBConnectionPool) of object;

 

Pool parameter is the newly created IDBConnectionPool interface. You can override that value by creating your own interface and passing it in the Pool variable.