/// <summary>
        ///     Tracks the collection vars after calling the base implementation
        /// </summary>
        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);
        }
        /// <summary>
        /// Tracks the collection vars after calling the base implementation
        /// </summary>
        /// <param name="op"></param>
        /// <param name="n"></param>
        /// <returns></returns>
        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;
        }
Beispiel #3
0
        public override System.Data.Entity.Core.Query.InternalTrees.Node Visit(
            MultiStreamNestOp op,
            System.Data.Entity.Core.Query.InternalTrees.Node n)
        {
            System.Data.Entity.Core.Query.InternalTrees.Node node = base.Visit(op, n);
            MultiStreamNestOp op1 = (MultiStreamNestOp)node.Op;

            for (int index = 0; index < op1.CollectionInfo.Count; ++index)
            {
                this.m_newCollectionVarDefinitions.Add(op1.CollectionInfo[index].CollectionVar, node.Children[index + 1]);
            }
            return(node);
        }
 /// <summary>
 /// MultiStreamNestOp handling
 /// </summary>
 /// <param name="op"></param>
 /// <param name="n"></param>
 public override void Visit(MultiStreamNestOp op, Node n)
 {
     // Cannot occur at this stage of processing
     throw EntityUtil.NotSupported();
 }
 public override void Visit(MultiStreamNestOp op, Node n)
 {
     VisitPhysicalOpDefault(op, n);
     Assert(n.Children.Count > 1, "MultiStreamNestOp needs at least 2 arguments: found {0}", n.Children.Count);
     foreach (var chi in n.Children)
     {
         AssertRelOpOrPhysicalOp(chi.Op);
     }
 }
Beispiel #6
0
 public override System.Data.Entity.Core.Query.InternalTrees.Node Visit(
     MultiStreamNestOp op,
     System.Data.Entity.Core.Query.InternalTrees.Node n)
 {
     return(this.VisitNestOp((NestBaseOp)op, n));
 }
 /// <summary>
 ///     Visitor pattern method for MultistreamNestOp
 /// </summary>
 /// <param name="op"> The op being visited </param>
 /// <param name="n"> The Node that references the Op </param>
 public virtual void Visit(MultiStreamNestOp op, Node n)
 {
     VisitNestOp(op, n);
 }
 /// <summary>
 ///     MultiStreamNestOp
 ///     Insist (for now) that all Vars are required
 /// </summary>
 /// <param name="op"> </param>
 /// <param name="n"> </param>
 /// <returns> </returns>
 public override Node Visit(MultiStreamNestOp op, Node n)
 {
     return(VisitNestOp(op, n));
 }
 /// <summary>
 ///     MultiStreamNestOp handling
 /// </summary>
 /// <param name="op"> </param>
 /// <param name="n"> </param>
 public override void Visit(MultiStreamNestOp op, Node n)
 {
     // Cannot occur at this stage of processing
     throw new NotSupportedException();
 }
Beispiel #10
0
 /// <summary>
 ///     MultiStreamNestOp handling
 /// </summary>
 /// <param name="op"> </param>
 /// <param name="n"> </param>
 public override void Visit(MultiStreamNestOp op, Node n)
 {
     // Cannot occur at this stage of processing
     throw new NotSupportedException();
 }
Beispiel #11
0
 // <summary>
 // Copies a multiStreamNestOp
 // </summary>
 public override Node Visit(MultiStreamNestOp op, Node n)
 {
     return VisitNestOp(n);
 }
Beispiel #12
0
 public override void Visit(MultiStreamNestOp op, System.Data.Entity.Core.Query.InternalTrees.Node n)
 {
     throw new NotSupportedException();
 }
 /// <summary>
 /// MultiStreamNestOp handling
 /// </summary>
 /// <param name="op"></param>
 /// <param name="n"></param>
 public override void Visit(MultiStreamNestOp op, Node n)
 {
     // Cannot occur at this stage of processing
     throw EntityUtil.NotSupported();
 }