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