public GenericRepository(PerreraEntities _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
Beispiel #2
0
 public PerrosRepository()
 {
     _context = new PerreraEntities();
     _table   = _context.Set <Perros>();
 }
 public GenericRepository()
 {
     this._context = new PerreraEntities();
     table         = _context.Set <T>();
 }
Beispiel #4
0
 public PerrosRepository(PerreraEntities context)
 {
     _context = context;
     _table   = _context.Set <Perros>();
 }