Пример #1
0
 public UnitOfWork(LifeInsuranceDbContext lifeInsuranceDbContext)
 {
     this._context      = lifeInsuranceDbContext;
     this.Contracts     = new ContractRepository(_context);
     this.CoveragePlans = new CoveragePlansRepository(_context);
     this.RateChart     = new RateChartRepository(_context);
 }
Пример #2
0
 protected GenericRepository(LifeInsuranceDbContext context)
 {
     _context = context;
 }
Пример #3
0
 public RateChartRepository(LifeInsuranceDbContext context) : base(context)
 {
 }
 public ContractRepository(LifeInsuranceDbContext context) : base(context)
 {
 }
Пример #5
0
 public CoveragePlansRepository(LifeInsuranceDbContext context) : base(context)
 {
 }