Back to Devexpress

IMultiTenancyApplicationBuilder.WithCustomTenantType<TTenantType>() Method

expressappframework-devexpress-dot-expressapp-dot-multitenancy-dot-xpo-dot-imultitenancyapplicationbuilder-dot-withcustomtenanttype-1.md

latest1.8 KB
Original Source

IMultiTenancyApplicationBuilder.WithCustomTenantType<TTenantType>() Method

Specifies the persistent type used to store tenant information.

Namespace : DevExpress.ExpressApp.MultiTenancy.Xpo

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

NuGet Package : DevExpress.ExpressApp.MultiTenancy.XPO

Declaration

csharp
IMultiTenancyApplicationBuilder WithCustomTenantType<TTenantType>()
    where TTenantType : ITenant, ITenantWithConnectionString
vb
Function WithCustomTenantType(Of TTenantType As {ITenant, ITenantWithConnectionString}) As IMultiTenancyApplicationBuilder

Type Parameters

NameDescription
TTenantType

The type used to store tenant information.

|

Returns

TypeDescription
IMultiTenancyApplicationBuilder

The application builder that processed the action.

|

See Also

Multi-Tenancy (Data per Tenant)

IMultiTenancyApplicationBuilder Interface

IMultiTenancyApplicationBuilder Members

DevExpress.ExpressApp.MultiTenancy.Xpo Namespace