예제 #1
0
파일: Startup.cs 프로젝트: havi1306/netcore
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     MigrationProvider.Register(Configuration.GetSection("ConnectionStrings:DbContext").Value);
 }
예제 #2
0
 public Startup(IConfiguration configuration, IWebHostEnvironment environment)
 {
     Configuration = configuration;
     Environment   = environment;
     MigrationProvider.Register(Configuration.GetSection("ConnectionStrings:DbContext").Value);
 }