src/Shared/EntityFramework/Core/Query/PlanCompiler/OpCopierTrackingCollectionVars.cs
// <summary>
// Tracks the collection vars after calling the base implementation
// </summary>
Tracks the collection vars after calling the base implementation
Tracks the collection vars after calling the base implementation
public override Node Visit(MultiStreamNestOp op, Node n)
        {
            var result = base.Visit(op, n);
            var newOp = (MultiStreamNestOp)result.Op;
            for (var i = 0; i < newOp.CollectionInfo.Count; i++)
            {
                m_newCollectionVarDefinitions.Add(newOp.CollectionInfo[i].CollectionVar, result.Children[i + 1]);
            }
            return result;
        }
public override Node Visit ( MultiStreamNestOp op , Node n ) { var result = base . Visit ( op , n ) ; var newOp = ( MultiStreamNestOp ) result . Op ; for ( var i = 0 ; i < newOp . CollectionInfo . Count ; i ++ ) { m_newCollectionVarDefinitions . Add ( newOp . CollectionInfo [ i ] . CollectionVar , result . Children [ i + 1 ] ) ; } return result ; }
Tracks the collection vars after calling the base implementation
Tracks the collection vars after calling the base implementation
op
MultiStreamNestOp
n
Node