public IQueryable <T> ApplySorting(IQueryable <T> query, SortingCollection coll) { _query = query; coll.Accept(this); var res = _query; _query = null; return(res); }
public void BuildSortExpression(StringBuilder bld, SortingCollection coll) { _bld = bld; coll.Accept(this); _bld = null; }