10 writes to Root
System.Data.Entity (10)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (3)
294_iqtCommand.Root = VisitExpr(ctree.Query); 319_iqtCommand.Root = newRoot; 328_iqtCommand.Root = CapWithPhysicalProject(_iqtCommand.Root);
System\Data\Query\PlanCompiler\JoinElimination.cs (1)
87this.Command.Root = VisitNode(this.Command.Root);
System\Data\Query\PlanCompiler\NestPullup.cs (2)
104Command.Root = VisitNode(Command.Root); 2763command.Root = sortRemover.VisitNode(command.Root);
System\Data\Query\PlanCompiler\Normalizer.cs (1)
69m_command.Root = VisitNode(m_command.Root);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
178m_command.Root = VisitNode(m_command.Root);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
138compilerState.Command.Root = Process(compilerState, compilerState.Command.Root);
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
802compilerState.Command.Root = ruleProcessor.ApplyRulesToSubtree(context, rulesTable, compilerState.Command.Root);
32 references to Root
System.Data.Entity (32)
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
109var rootProject = itree.Root; // PhysicalProject(RelInput)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (3)
215PlanCompiler.Assert(itree.Root.Op.OpType == OpType.PhysicalProject, 216"Expected a physical projectOp at the root of the tree - found " + itree.Root.Op.OpType); 219m_internalTreeNode = itree.Root.Child0;
System\Data\Query\InternalTrees\Dump.cs (1)
66return ToXml(itree, itree.Root);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (1)
649groupRefComputingVisitor.VisitNode(itree.Root);
System\Data\Query\PlanCompiler\CodeGen.cs (3)
90PhysicalProjectOp projectOp = (PhysicalProjectOp)this.Command.Root.Op; 92this.m_subCommands = new List<Node>(new Node[] { this.Command.Root }); 96this.Command.Root // input node
System\Data\Query\PlanCompiler\ITreeGenerator.cs (5)
301if (!_iqtCommand.Root.Op.IsRelOp) 303Node scalarExpr = ConvertToScalarOpTree(_iqtCommand.Root, ctree.Query); 312if (TypeSemantics.IsCollectionType(_iqtCommand.Root.Op.Type)) 320_varMap[_iqtCommand.Root] = newVar; 328_iqtCommand.Root = CapWithPhysicalProject(_iqtCommand.Root);
System\Data\Query\PlanCompiler\JoinElimination.cs (1)
87this.Command.Root = VisitNode(this.Command.Root);
System\Data\Query\PlanCompiler\NestPullup.cs (7)
103PlanCompiler.Assert(Command.Root.Op.OpType == OpType.PhysicalProject, "root node is not physicalProject?"); 104Command.Root = VisitNode(Command.Root); 1939if (n != Command.Root || !IsNestOpNode(n.Child0)) 2754if (command.Root.Child0 != null && command.Root.Child0.Op.OpType == OpType.Sort) 2756topMostSort = command.Root.Child0; 2763command.Root = sortRemover.VisitNode(command.Root);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
201Node rootNode = m_command.Root;
System\Data\Query\PlanCompiler\Normalizer.cs (1)
69m_command.Root = VisitNode(m_command.Root);
System\Data\Query\PlanCompiler\PlanCompiler.cs (1)
483int actualCount = NodeCounter.Count(this.m_command.Root);
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
178m_command.Root = VisitNode(m_command.Root); 199PhysicalProjectOp ppOp = (PhysicalProjectOp)m_command.Root.Op; // this better be the case or we have other problems.
System\Data\Query\PlanCompiler\ProjectionPruner.cs (2)
138compilerState.Command.Root = Process(compilerState, compilerState.Command.Root); 324if (n == m_command.Root)
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
100pph.Process(itree.Root);
System\Data\Query\PlanCompiler\TransformationRules.cs (2)
802compilerState.Command.Root = ruleProcessor.ApplyRulesToSubtree(context, rulesTable, compilerState.Command.Root); 4231var rootOp = context.Command.Root.Op as PhysicalProjectOp;