Exemplo n.º 1
0
 public UnitOfWork(LifeInsuranceDbContext lifeInsuranceDbContext)
 {
     this._context      = lifeInsuranceDbContext;
     this.Contracts     = new ContractRepository(_context);
     this.CoveragePlans = new CoveragePlansRepository(_context);
     this.RateChart     = new RateChartRepository(_context);
 }
Exemplo n.º 2
0
 protected GenericRepository(LifeInsuranceDbContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public RateChartRepository(LifeInsuranceDbContext context) : base(context)
 {
 }
 public ContractRepository(LifeInsuranceDbContext context) : base(context)
 {
 }
Exemplo n.º 5
0
 public CoveragePlansRepository(LifeInsuranceDbContext context) : base(context)
 {
 }