Exemple #1
0
 public UnitOfWork(TakesContext context)
 {
     _context = context;
     Companys = new CompanyRepository(_context);
     Companys = new CompanyRepository(_context);
     Centers  = new CenterRepository(_context);
     Takings  = new TakingRepository(_context);
 }
Exemple #2
0
 public CompanyRepository(TakesContext context)
     : base(context)
 {
 }
Exemple #3
0
 public CenterRepository(TakesContext context) : base(context)
 {
 }
Exemple #4
0
 public TakingRepository(TakesContext context)
     : base(context)
 {
 }