Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    DevExpress.ExpressApp.MultiTenancy Namespace

    Contains API specific to the Multi-Tenancy functionality.

    Assemblies: DevExpress.ExpressApp.MultiTenancy.v25.1.dll, DevExpress.ExpressApp.v25.1.dll

    NuGet Packages: DevExpress.ExpressApp.MultiTenancy, DevExpress.ExpressApp

    Classes

    Name Description
    TenantByEmailResolver Determines the tenant name based on user login according to the following pattern: {User}@{Tenant}. For instance, if user login is ‘John@company.com‘, the user name is ‘John‘ and the tenant name is ‘company.com‘.
    TenantByUserNameResolver Determines the tenant name based on user login name according to the specified pattern. The pattern should contain ‘{User}‘ and ‘{Tenant}‘ parts. For instance, if the pattern is ‘{Tenant}//{User}‘ and login is ‘company/John‘, the user name is ‘John‘ and the tenant name is ‘company‘.
    TenantNotFoundException An exception is thrown in a multi-tenant application if a tenant with the specified name or ID does not exist.

    Interfaces

    Name Description
    IConnectionStringProvider Declares a method that allows you to get the connection string for the current tenant’s database.
    ITenantModelDifferenceStore Declares the Application Model Differences store for tenants in multi-tenant applications.
    ITenantProvider Declares the API that allows you to specify the ID of the current tenant, and get the name of the current tenant in a multi-tenant application.
    ITenantResolver Declares methods that return the ID of a tenant based on a user login information in a multi-tenant application.