Esempio n. 1
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     MigrationProvider.Register(Configuration.GetSection("ConnectionStrings:DbContext").Value);
 }
Esempio n. 2
0
 public Startup(IConfiguration configuration, IWebHostEnvironment environment)
 {
     Configuration = configuration;
     Environment   = environment;
     MigrationProvider.Register(Configuration.GetSection("ConnectionStrings:DbContext").Value);
 }