コード例 #1
0
 public EFDataStore(InsuranceDbContext dbContext)
 {
     this.dbContext         = dbContext;
     this.offerRepository   = new EFOfferRepository(this.dbContext);
     this.productRepository = new EFProductRepository(this.dbContext);
     this.policyRepository  = new EFPolicyRepository(this.dbContext);
 }
コード例 #2
0
 public EFProductRepository(InsuranceDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
コード例 #3
0
 public EFPolicyRepository(InsuranceDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
コード例 #4
0
 public EFOfferRepository(InsuranceDbContext dbContext)
 {
     this.dbContext = dbContext;
 }