protected override void OnConfiguring(DbContextOptionsBuilder options) { var config = DBObjectContext.GetAppConfigure(); options .UseLoggerFactory(loggerFactory) .UseSqlServer(config.GetConnectionString("sqlServerDb")); }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { var configure = DBObjectContext.GetAppConfigure(); }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { var config = DBObjectContext.GetAppConfigure(); optionsBuilder.UseSqlite(config.GetConnectionString("sqliteDb")); }