public UnitOfWork(LifeInsuranceDbContext lifeInsuranceDbContext) { this._context = lifeInsuranceDbContext; this.Contracts = new ContractRepository(_context); this.CoveragePlans = new CoveragePlansRepository(_context); this.RateChart = new RateChartRepository(_context); }
protected GenericRepository(LifeInsuranceDbContext context) { _context = context; }
public RateChartRepository(LifeInsuranceDbContext context) : base(context) { }
public ContractRepository(LifeInsuranceDbContext context) : base(context) { }
public CoveragePlansRepository(LifeInsuranceDbContext context) : base(context) { }