コード例 #1
0
 public GenericRepository(RoomMateDbContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
コード例 #2
0
 public GenericRepository()
 {
     this._context = new RoomMateDbContext();
     table         = _context.Set <T>();
 }