protected DbContextBase(IConfiguration configuration, TenancyConfiguration tenancyConfiguration, IGuidGenerator generator, params IConfigurationModule[] modules) : base(configuration.DatabaseConnection) { DbConfiguration.SetConfiguration(tenancyConfiguration); _generator = generator; _modules = modules; }
public DatabaseContext(IConfiguration configuration, TenancyConfiguration tenancyConfiguration, IGuidGenerator generator) : base(configuration, tenancyConfiguration, generator, new ContextConfigurationModule()) { this.DisableDatabaseInitialization(); }