示例#1
0
 public EfDataStore(LimitsDbContext dbContext)
 {
     _dbContext = dbContext;
     Policies   = new EfPolicyRepository(dbContext);
     LimitConsumptionContainers = new EfLimitConsumptionContainerRepository(_dbContext);
 }
 public EfPolicyRepository(LimitsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
示例#3
0
 public EfInitializer(LimitsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public EfLimitConsumptionContainerRepository(LimitsDbContext dbContext)
 {
     _dbContext = dbContext;
 }