Table of Contents

TXDataTenantConnectionPool.OnCreateShardConnection Event

Fired when a database connection must be created for a shard.

Remarks

This is the main integration point: return an IDBConnection to the shard database, using connection settings from your configuration. The component wraps the connections in a pool of PoolSize connections per shard.

Syntax

Unit: XData.Comp.TenantConnectionPool

property TXDataTenantConnectionPool.OnCreateShardConnection: TCreateShardConnectionEvent

See also