Exemplo n.º 1
0
 private void BuildReferencedQuery(int startIdx, ReadOnlyCollection<Expression> exprs)
 {
     ExpressionQuerySet querySet = new ExpressionQuerySet();
     for (int i = startIdx; i < exprs.Count; i++)
     {
         querySet.Visit(exprs[i]);
     }
     foreach (Expression qexpr in querySet.QuerySet)
     {
         QueryNodeInfo nodeInfo = BuildNodeInfoGraph(qexpr);
         this.m_referencedQueryMap[qexpr] = new QueryNodeInfo(qexpr, false, nodeInfo);
     }
 }
Exemplo n.º 2
0
 private void BuildReferencedQuery(Expression expr)
 {
     ExpressionQuerySet querySet = new ExpressionQuerySet();
     querySet.Visit(expr);
     foreach (Expression qexpr in querySet.QuerySet)
     {
         QueryNodeInfo nodeInfo = BuildNodeInfoGraph(qexpr);
         this.m_referencedQueryMap[qexpr] = new QueryNodeInfo(qexpr, false, nodeInfo);
     }
 }