Skip to main content
All docs
V25.2
  • IMultiTenancyApplicationBuilder.WithHostDbContext Method

    Name Parameters Description
    WithHostDbContext(Action<IServiceProvider, DbContextOptionsBuilder>, Boolean, Boolean, Boolean) configureServiceDbContext, isMiddleTier, enableOptimisticLock, enableDeferredDeletion Configures DbContext used by the application to access the host database containing tenant settings.
    WithHostDbContext<TServiceDbContext>(Action<IServiceProvider, DbContextOptionsBuilder>, Boolean) configureServiceDbContext, isMiddleTier Configures DbContext used by the application to access the host database containing tenant settings.