Table of Contents

ITenantDBPoolProvider Interface

Provides the database connection pool of a tenant.

Remarks

Implementations typically cache or route pools: given a tenant id, they return the IDBConnectionPool serving the database where that tenant's data lives.

Syntax

Unit: Aurelius.Tenancy.Interfaces

ITenantDBPoolProvider = interface(IInterface);

Methods

Name Description
GetPool Returns the connection pool for the given tenant.