예제 #1
0
        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);
        }
예제 #2
0
 public void AddInclude(string include) =>
 IncludesString.Add(include);
예제 #3
0
 protected void AddInclude(string includeExpression)
 {
     IncludesString.Add(includeExpression);
 }