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