예제 #1
0
 public GenericRepository(SaviantPizzaContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
예제 #2
0
 public GenericRepository()
 {
     this._context = new SaviantPizzaContext();
     table         = _context.Set <T>();
 }