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