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