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