예제 #1
0
 public CustomerDb(IConfiguration configuration)
 {
     _dbContext = new CustomerDbContext(configuration.GetConnectionString("CustomersConnectionString"));
 }
예제 #2
0
 public CustomerDb(string connectionString)
 {
     _dbContext = new CustomerDbContext(connectionString);
 }