예제 #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)
 {
 }