TMultiTenantConnectionPool.Create Constructor
Creates a new TMultiTenantConnectionPool instance.
Syntax
Unit: Aurelius.Tenancy.Pool
constructor TMultiTenantConnectionPool.Create(ATenantResolver: ITenantResolver; APoolFactory: ITenantDBPoolFactory);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| ATenantResolver | ITenantResolver | The resolver providing the current tenant id. | |
| APoolFactory | ITenantDBPoolFactory | The factory used to create the pool of a tenant on first access. |