public override IQueryState Visit(IgnoreAllFiltersExpression exp) { IQueryState prevState = exp.PrevExpression.Accept(this); IQueryState state = prevState.Accept(exp); return(state); }
public IQuery <T> IgnoreAllFilters() { IgnoreAllFiltersExpression e = new IgnoreAllFiltersExpression(typeof(T), this._expression); return(new Query <T>(this._dbContext, e, this._trackEntity)); }
public virtual IQueryState Accept(IgnoreAllFiltersExpression exp) { throw new NotSupportedException("Cannot call 'IgnoreAllFilters' method now."); }
public override IQueryState Accept(IgnoreAllFiltersExpression exp) { this.QueryModel.IgnoreFilters = true; return(this); }