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