TMultiTenantPoolProvider.GetPool Method
Returns the connection pool of a tenant, creating it through the factory on first access.
Syntax
Unit: Aurelius.Tenancy.Pool
function TMultiTenantPoolProvider.GetPool(const TenantId: string): IDBConnectionPool;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | TenantId | string | The id of the tenant. |
Returns
The IDBConnectionPool serving the tenant.