public GenericRepository(OSCDbContext _context) { this._context = _context; table = _context.Set <T>(); }
public GenericRepository() { this._context = new OSCDbContext(); table = _context.Set <T>(); }
public GenericRepository(OSCDbContext _context) { this._context = _context; table = _context.Set <T>(); }
public GenericRepository() { this._context = new OSCDbContext(); table = _context.Set <T>(); }