Beispiel #1
0
 public GenericRepository(PerreraContext context)
 {
     this._context = context;
     table         = _context.Set <T>();
 }
 public GenericRepository(PerreraContext context)
 {
     DbContext = context;
     Table     = DbContext.Set <T>();
 }
Beispiel #3
0
 public GenericRepository()
 {
     this._context = new PerreraContext();
     table         = _context.Set <T>();
 }
 public GenericRepository()
 {
     DbContext = new PerreraContext();
     Table     = DbContext.Set <T>();
 }