Skip to content

Multi-Tenant Connection String Resolution

The ApplicationSecurityMultiTenantConnectionStringResolver class extends the DefaultConnectionStringResolver to handle multi-tenant connection string resolution with encryption. Automatically decrypts if the Default Connection String is encrypted.

Installation

If you want to install multi-tenancy module;

  • Add the GridLab.Abp.MultiTenancy NuGet package to your project:

    Install-Package GridLab.Abp.MultiTenancy

  • Add the AbpApplicationSecurityMultiTenancyModule to the dependency list of your module:

    [DependsOn(
        //...other dependencies
        typeof(AbpApplicationSecurityMultiTenancyModule) // <-- Add module dependency like that
    )]
    public class YourModule : AbpModule
    {
    }