src/Shared/EntityFramework/Core/Query/PlanCompiler/SubqueryTrackingVisitor.cs
// <summary>
// Find the first RelOp node that is in my ancestral path.
// If I see a PhysicalOp, then I don't have a RelOp parent
// </summary>
// <returns> the first RelOp node </returns>
Find the first RelOp node that is in my ancestral path.
If I see a PhysicalOp, then I don't have a RelOp parent
Find the first RelOp node that is in my ancestral path . If I see a PhysicalOp then I don ' t have a RelOp parent
protected Node FindRelOpAncestor()
        {
            foreach (var n in m_ancestors)
            {
                if (n.Op.IsRelOp)
                {
                    return n;
                }
                else if (n.Op.IsPhysicalOp)
                {
                    return null;
                }
            }
            return null;
        }
protected Node FindRelOpAncestor ( ) { foreach ( var n in m_ancestors ) { if ( n . Op . IsRelOp ) { return n ; } else if ( n . Op . IsPhysicalOp ) { return null ; } } return null ; }
Find the first RelOp node that is in my ancestral path.
Find the first RelOp node that is in my ancestral path .
the first RelOp node
the first RelOp node