Skip to main content
All docs
V25.2
  • IMultiTenancyApplicationBuilder.WithTenantResolver<TTenantResolver>() Method

    Enables automatic tenant detection based on user login using the specified tenant resolver type.

    Namespace: DevExpress.ExpressApp.MultiTenancy.EFCore

    Assembly: DevExpress.ExpressApp.MultiTenancy.EFCore.v25.2.dll

    NuGet Package: DevExpress.ExpressApp.MultiTenancy.EFCore

    Declaration

    void WithTenantResolver<TTenantResolver>()
        where TTenantResolver : class, ITenantResolver

    Type Parameters

    Name Description
    TTenantResolver

    The type of the tenant resolver.

    See Also