14 references to Var
System.Data.Entity (14)
System\Data\Query\InternalTrees\ColumnMapCopier.cs (1)
298Var replacementVar = GetReplacementVar(columnMap.Var, replacementVarMap);
System\Data\Query\InternalTrees\Dump.cs (1)
793attrs.Add("Var", ((VarRefColumnMap)columnMap).Var.Id);
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (3)
36return new VarRefColumnMap(m_columnMap.Var.Type, m_columnMap.Name, ((CollectionVarInfo)m_varInfo).NewVar); 40return new VarRefColumnMap(m_columnMap.Var.Type, m_columnMap.Name, ((PrimitiveTypeVarInfo)m_varInfo).NewVar); 44return this.CreateColumnMap(m_columnMap.Var.Type, m_columnMap.Name);
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (5)
131if (varToColumnMap.TryGetValue(varRefColumnMap.Var, out columnMap)) 165Var replacementVar = GetReplacementVar(varRefColumnMap.Var, varToVarMap); 166if (varRefColumnMap.Var != replacementVar) 194if (!varToCommandColumnMap.TryGetValue(varRefColumnMap.Var, out commandAndColumn)) 196throw 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)
962if (!m_varInfoMap.TryGetVarInfo(varRefColumnMap.Var, out varInfo)) 971if (TypeUtils.IsStructuredType(varRefColumnMap.Var.Type)) 973TypeInfo typeInfo = m_typeInfo.GetTypeInfo(varRefColumnMap.Var.Type);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
100arg.Set(columnMap.Var);