2 writes to Var
System.Data.Entity (2)
System\Data\Query\PlanCompiler\NestPullup.cs (1)
219
sortKey.
Var
= replacementVar;
System\Data\Query\PlanCompiler\VarRemapper.cs (1)
200
sk.
Var
= Map(sk.Var);
38 references to Var
System.Data.Entity (38)
System\Data\Query\InternalTrees\Dump.cs (2)
363
sb.Append(v.
Var
.Id);
505
attrs.Add("Var", sortKey.
Var
);
System\Data\Query\InternalTrees\OpCopier.cs (1)
209
GetMappedVar(sortKey.
Var
),
System\Data\Query\PlanCompiler\CTreeGenerator.cs (3)
1525
if (sortVars.IsSet(sortKey.
Var
))
1531
sortVars.Set(sortKey.
Var
);
1535
DbExpression keyExpression = ResolveVar(sortKey.
Var
);
System\Data\Query\PlanCompiler\NestPullup.cs (21)
217
if (varMap.TryGetValue(sortKey.
Var
, out replacementVar))
819
if (!Command.GetExtendedNodeInfo(sortNode).ExternalReferences.IsSet(key.
Var
))
821
op.Outputs.Set(key.
Var
);
950
newOutputVars.Set(sk.
Var
);
1254
if (!flattenedElementVarVec.IsSet(sk.
Var
))
1256
flattenedElementVarList.Add(sk.
Var
);
1257
flattenedElementVarVec.Set(sk.
Var
);
1475
nestOpOutputs.Set(sk.
Var
);
1627
inputNestOp.PrefixSortKeys.Add(Command.CreateSortKey(sk.
Var
, sk.AscendingSort, sk.Collation));
1661
if (!sortVars.IsSet(sk.
Var
))
1663
sortVars.Set(sk.
Var
);
1667
sortKeyList.Add(Command.CreateSortKey(sk.
Var
, sk.AscendingSort, sk.Collation));
1673
if (!sortVars.IsSet(sk.
Var
))
1675
sortVars.Set(sk.
Var
);
1676
sortKeyList.Add(Command.CreateSortKey(sk.
Var
, sk.AscendingSort, sk.Collation));
2037
if (!sortVars.IsSet(sk.
Var
))
2039
sortVars.Set(sk.
Var
);
2062
if (!sortVars.IsSet(sk.
Var
))
2064
sortVars.Set(sk.
Var
);
2408
if (!flattenedElementVars.Contains(sortKey.
Var
))
2410
flattenedElementVars.Add(sortKey.
Var
);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
669
if (!m_varInfoMap.TryGetVarInfo(k.
Var
, out varInfo))
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
2366
op.Outputs.Set(key.
Var
);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
713
AddReference(sk.
Var
);
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (2)
771
if (TypeUtils.IsStructuredType(sk.
Var
.Type))
772
AddPropertyRefs(sk.
Var
, PropertyRefList.All);
System\Data\Query\PlanCompiler\VarRefManager.cs (1)
193
if (vars.IsSet(key.
Var
))
System\Data\Query\PlanCompiler\VarRemapper.cs (5)
200
sk.Var = Map(sk.
Var
);
201
if (sortVars.IsSet(sk.
Var
))
205
sortVars.Set(sk.
Var
);
218
if (!sortVars.IsSet(sk.
Var
))
222
sortVars.Set(sk.
Var
);