Back to Devexpress

IMultiTenancyApplicationBuilder Members

expressappframework-devexpress-dot-expressapp-dot-multitenancy-dot-xpo-dot-imultitenancyapplicationbuilder-dot-underscore-members.md

latest2.2 KB
Original Source

IMultiTenancyApplicationBuilder Members

Declares methods for configuring a multi-tenant application that uses the XPO ORM.

Methods

NameDescription
WithCustomTenantType<TTenantType>()Specifies the persistent type used to store tenant information.
WithHostDatabaseConnectionString(String)Specifies the connection string used to connect to the host database.
WithMultiTenancyModelDifferenceStore(Action<ModelDifferencesOptions>)Configures application model settings set to be used for host user interface and tenant user interfaces.
WithMultiTenancyModelDifferenceStore<TTenantModelDifferenceStore>(Action<ModelDifferencesOptions>)Configures application model settings set to be used for host user interface and tenant user interfaces.
WithSharedBusinessObjects(Type[])Registers the specified host business object types as shared data accessible to tenants.
WithTenantResolver<TTenantResolver>()Enables automatic tenant detection based on user login with the specified tenant resolver type.

See Also

IMultiTenancyApplicationBuilder Interface

DevExpress.ExpressApp.MultiTenancy.Xpo Namespace