internal IQueryable <TValue> SetIncludes(IQueryable <TValue> query) { query = IncludesString. Aggregate(query, (current, include) => current.Include(include)); query = IncludesExp. Aggregate(query, (current, include) => current.Include(include)); return(query); }
public void AddInclude(string include) => IncludesString.Add(include);
protected void AddInclude(string includeExpression) { IncludesString.Add(includeExpression); }