예제 #1
0
 public CustomerRepository(CompanyContext context)
 {
     this.context = context;
     mapper       = new CustomerMapper();
 }
예제 #2
0
 public CompanyRepository(CompanyContext companyContext, ICompanyFactory companyFactory)
 {
     this.store          = companyContext;
     this.companyFactory = companyFactory;
     mapper = new CompanyMapper();
 }