Exemple #1
0
 public UnitOfWork(HarvDbContext context)
 {
     _context                    = context;
     AccountRepository           = new AccountRepository(context);
     CustomerRepository          = new CustomerRepository(context);
     AccountInitCreditRepository = new AccountInitCreditRepository(context);
 }
 public AccountRepository(HarvDbContext context)
 {
     _context = context;
 }
Exemple #3
0
 public CustomerRepository(HarvDbContext context)
 {
     _context = context;
 }
 public AccountInitCreditRepository(HarvDbContext context)
 {
     _context = context;
 }