75 references to ExternalReferences
System.Data.Entity (75)
System\Data\Query\InternalTrees\NodeInfo.cs (56)
417
nodeInfo.
ExternalReferences
.Or(childNodeInfo.
ExternalReferences
);
458
nodeInfo.
ExternalReferences
.Set(op.Var);
546
nodeInfo.
ExternalReferences
.Or(childNodeInfo.
ExternalReferences
);
550
nodeInfo.
ExternalReferences
.Set(op.Var);
610
nodeInfo.
ExternalReferences
.Set(v);
625
nodeInfo.
ExternalReferences
.Clear(varDefOp.Var);
627
nodeInfo.
ExternalReferences
.Or(chiNodeInfo.
ExternalReferences
);
634
nodeInfo.
ExternalReferences
.Minus(relOpChildNodeInfo.Definitions);
635
nodeInfo.
ExternalReferences
.Or(relOpChildNodeInfo.
ExternalReferences
);
689
nodeInfo.
ExternalReferences
.Or(relOpChildNodeInfo.
ExternalReferences
);
690
nodeInfo.
ExternalReferences
.Or(predNodeInfo.
ExternalReferences
);
691
nodeInfo.
ExternalReferences
.Minus(relOpChildNodeInfo.Definitions);
746
nodeInfo.
ExternalReferences
.Or(relOpChildNodeInfo.
ExternalReferences
);
750
nodeInfo.
ExternalReferences
.Or(keyExprNodeInfo.
ExternalReferences
);
767
nodeInfo.
ExternalReferences
.Or(aggExprNodeInfo.
ExternalReferences
);
772
nodeInfo.
ExternalReferences
.Minus(relOpChildNodeInfo.Definitions);
814
nodeInfo.
ExternalReferences
.Or(chiNodeInfo.
ExternalReferences
);
881
nodeInfo.
ExternalReferences
.Or(leftRelOpNodeInfo.
ExternalReferences
);
882
nodeInfo.
ExternalReferences
.Or(rightRelOpNodeInfo.
ExternalReferences
);
883
nodeInfo.
ExternalReferences
.Or(predNodeInfo.
ExternalReferences
);
884
nodeInfo.
ExternalReferences
.Minus(nodeInfo.Definitions);
963
nodeInfo.
ExternalReferences
.Or(leftRelOpNodeInfo.
ExternalReferences
);
964
nodeInfo.
ExternalReferences
.Or(rightRelOpNodeInfo.
ExternalReferences
);
965
nodeInfo.
ExternalReferences
.Minus(nodeInfo.Definitions);
1026
nodeInfo.
ExternalReferences
.Or(leftChildNodeInfo.
ExternalReferences
);
1027
nodeInfo.
ExternalReferences
.Or(rightChildNodeInfo.
ExternalReferences
);
1141
nodeInfo.
ExternalReferences
.Or(relOpChildNodeInfo.
ExternalReferences
);
1142
nodeInfo.
ExternalReferences
.Minus(relOpChildNodeInfo.Definitions);
1192
nodeInfo.
ExternalReferences
.InitFrom(childNodeInfo.
ExternalReferences
);
1203
nodeInfo.
ExternalReferences
.Set(v);
1234
nodeInfo.
ExternalReferences
.InitFrom(childNodeInfo.
ExternalReferences
);
1279
nodeInfo.
ExternalReferences
.Or(childNodeInfo.
ExternalReferences
);
1332
nodeInfo.
ExternalReferences
.Or(GetExtendedNodeInfo(chi).
ExternalReferences
);
1336
nodeInfo.
ExternalReferences
.Minus(nodeInfo.Definitions);
System\Data\Query\PlanCompiler\JoinGraph.cs (1)
2405
foreach (Var var in joinNode.OtherPredicate.GetNodeInfo(this.m_command).
ExternalReferences
)
System\Data\Query\PlanCompiler\NestPullup.cs (4)
819
if (!Command.GetExtendedNodeInfo(sortNode).
ExternalReferences
.IsSet(key.Var))
1232
externalReferences.Or(Command.GetNodeInfo(physicalProjectNode).
ExternalReferences
);
1406
leftCorrelationVars.Or(nestNode.Children[i].GetExtendedNodeInfo(Command).
ExternalReferences
);
1469
nestOpOutputs.Or(newNestNodeChildren[i].GetNodeInfo(Command).
ExternalReferences
);
System\Data\Query\PlanCompiler\Predicate.cs (2)
311
externalRefs.InitFrom(nodeInfo.
ExternalReferences
);
496
VarVec otherVarExternalReferences = otherNodeInfo.
ExternalReferences
.Clone();
System\Data\Query\PlanCompiler\TransformationRules.cs (11)
463
foreach (Var v in nodeInfo.
ExternalReferences
)
1395
if (columns == null && filterNodeInfo.
ExternalReferences
.IsEmpty)
2194
if (!nodeInfo.
ExternalReferences
.IsEmpty)
2246
if (!nodeInfo.
ExternalReferences
.IsSet(varRefOp.Var))
2272
if (varRefOp != null && !nodeInfo.
ExternalReferences
.IsSet(varRefOp.Var))
2447
if (filterInputNodeInfo.
ExternalReferences
.Overlaps(applyLeftChildNodeInfo.Definitions))
2528
if (projectOp.Outputs.Overlaps(applyLeftChildNodeInfo.Definitions) || filterInputNodeInfo.
ExternalReferences
.Overlaps(applyLeftChildNodeInfo.Definitions))
2589
foreach (Var v in filterPredicateNodeInfo.
ExternalReferences
)
2853
if (applyRightChildNodeInfo.
ExternalReferences
.Overlaps(applyLeftChildNodeInfo.Definitions))
3905
if (!nodeInfo.
ExternalReferences
.IsSet(varRefOp.Var))
3930
if (varRefOp != null && !nodeInfo.
ExternalReferences
.IsSet(varRefOp.Var))
System\Data\Query\PlanCompiler\VarRefManager.cs (1)
90
if (parent.Children[i].GetNodeInfo(m_command).
ExternalReferences
.Overlaps(keys))