14 references to Var
System.Data.Entity (14)
System\Data\Query\InternalTrees\ColumnMapCopier.cs (1)
298
Var replacementVar = GetReplacementVar(columnMap.
Var
, replacementVarMap);
System\Data\Query\InternalTrees\Dump.cs (1)
793
attrs.Add("Var", ((VarRefColumnMap)columnMap).
Var
.Id);
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (3)
36
return new VarRefColumnMap(m_columnMap.
Var
.Type, m_columnMap.Name, ((CollectionVarInfo)m_varInfo).NewVar);
40
return new VarRefColumnMap(m_columnMap.
Var
.Type, m_columnMap.Name, ((PrimitiveTypeVarInfo)m_varInfo).NewVar);
44
return this.CreateColumnMap(m_columnMap.
Var
.Type, m_columnMap.Name);
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (5)
131
if (varToColumnMap.TryGetValue(varRefColumnMap.
Var
, out columnMap))
165
Var replacementVar = GetReplacementVar(varRefColumnMap.
Var
, varToVarMap);
166
if (varRefColumnMap.
Var
!= replacementVar)
194
if (!varToCommandColumnMap.TryGetValue(varRefColumnMap.
Var
, out commandAndColumn))
196
throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownVar, 1, varRefColumnMap.
Var
.Id); // shouldn't have gotten here without having a resolveable var
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (3)
962
if (!m_varInfoMap.TryGetVarInfo(varRefColumnMap.
Var
, out varInfo))
971
if (TypeUtils.IsStructuredType(varRefColumnMap.
Var
.Type))
973
TypeInfo typeInfo = m_typeInfo.GetTypeInfo(varRefColumnMap.
Var
.Type);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
100
arg.Set(columnMap.
Var
);