32 references to VarMap
System.Data.Entity (32)
System\Data\Query\InternalTrees\Dump.cs (1)
477
attrs2.Add("VarMap", op.
VarMap
[i++].ToString());
System\Data\Query\InternalTrees\NodeInfo.cs (3)
1067
mappedKeyVec = childNodeInfo.Keys.KeyVars.Remap(unionAllOp.
VarMap
[i].GetReverseMap());
1095
VarVec leftNonNullableVars = leftChildNodeInfo.NonNullableDefinitions.Remap(op.
VarMap
[0].GetReverseMap());
1100
VarVec rightNonNullableVars = rightChildNodeInfo.NonNullableDefinitions.Remap(op.
VarMap
[1].GetReverseMap());
System\Data\Query\InternalTrees\OpCopier.cs (2)
920
foreach (KeyValuePair<Var, Var> kv in op.
VarMap
[0])
930
rightMap.Add(outputVar, GetMappedVar((op.
VarMap
[1])[kv.Key]));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
2148
DbExpression left = VisitSetOpArgument(n.Child0, op.Outputs, op.
VarMap
[0]);
2149
DbExpression right = VisitSetOpArgument(n.Child1, op.Outputs, op.
VarMap
[1]);
System\Data\Query\PlanCompiler\KeyPullup.cs (9)
247
VarVec existingKeyVars = branchNodeInfo.Keys.KeyVars.Remap(op.
VarMap
[i]);
296
if (!op.
VarMap
[i].ContainsValue(branchDiscriminatorVar))
298
op.
VarMap
[i].Add(outputBranchDiscriminatorVar, branchDiscriminatorVar);
309
VarMap reverseVarMap = op.
VarMap
[i].GetReverseMap();
322
op.
VarMap
[i].Add(outputBranchDiscriminatorVar, branchDiscriminatorVar);
343
op.
VarMap
[i].Add(allKeyVarsToAddToOutput[j], keyVar);
360
foreach (Var v in op.
VarMap
[i].Values)
382
n.Op = m_command.CreateUnionAllOp(op.
VarMap
[0], op.
VarMap
[1], outputBranchDiscriminatorVar);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
2643
VarMap varMap = unionOp.
VarMap
[0];
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (5)
1486
for (int i = 0; i < op.
VarMap
.Length; i++)
1489
op.
VarMap
[i] = FlattenVarMap(op.
VarMap
[i], out newComputedVars);
1492
n.Children[i] = FixupSetOpChild(n.Children[i], op.
VarMap
[i], newComputedVars);
1498
foreach (Var v in op.
VarMap
[0].Keys)
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
687
foreach (VarMap varMap in op.
VarMap
)
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
729
foreach (VarMap varMap in op.
VarMap
)
System\Data\Query\PlanCompiler\TransformationRules.cs (4)
1568
foreach (VarMap varMap in setOp.
VarMap
)
3262
RemapVarMapKey(op.
VarMap
[0], newVar);
3263
RemapVarMapKey(op.
VarMap
[1], newVar);
3838
foreach (KeyValuePair<Var, Var> kv in setOp.
VarMap
[indexToReturn])
System\Data\Query\PlanCompiler\VarRefManager.cs (1)
211
foreach (Var var in op.
VarMap
[index].Values)
System\Data\Query\PlanCompiler\VarRemapper.cs (2)
304
Map(op.
VarMap
[0]);
305
Map(op.
VarMap
[1]);