50 references to Var
System.Data.Entity (50)
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
196if (op.Var.VarType == VarType.Parameter && m_viewArguments.TryGetValue(((ParameterVar)op.Var).ParameterName, out argNode))
System\Data\Query\InternalTrees\Dump.cs (1)
545WriteString(op.Var.Id.ToString(CultureInfo.InvariantCulture));
System\Data\Query\InternalTrees\NodeInfo.cs (3)
435&& nonNullableInputs.IsSet(((VarRefOp)definition.Op).Var)); 458nodeInfo.ExternalReferences.Set(op.Var); 574varMap[varRefOp.Var] = varDefOp.Var;
System\Data\Query\InternalTrees\OpCopier.cs (2)
510if (!m_varMap.TryGetValue(op.Var, out newVar)) 511newVar = op.Var;
System\Data\Query\InternalTrees\ScalarOps.cs (2)
331return (otherVarRef != null && otherVarRef.Var.Equals(this.Var));
System\Data\Query\PlanCompiler\AggregatePushdown.cs (3)
392return TranslateOverGroupAggregateVar(op.Var, null); 410return TranslateOverGroupAggregateVar(varRefOp.Var, op.PropertyInfo); 819return ((VarRefOp)node.Op).Var == var;
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
1026return ResolveVar(op.Var);
System\Data\Query\PlanCompiler\NestPullup.cs (4)
296m_varRefMap.Add(op.Var, ((VarRefOp)n.Child0.Op).Var); 342Var refVar = ((VarRefOp)chi.Op).Var; 1012Var refVar = ((VarRefOp)definingExprNode.Op).Var; 1776Var refVar = ((VarRefOp)newNode.Op).Var;
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
2510if (!m_varInfoMap.TryGetVarInfo(op.Var, out varInfo)) 2513"No varInfo for a structured type var: Id = " + op.Var.Id + " Type = " + op.Type);
System\Data\Query\PlanCompiler\Predicate.cs (7)
360leftVar = leftVarOp.Var; 361rightVar = rightVarOp.Var; 434if (varRefOp != null && tableColumns.IsSet(varRefOp.Var)) 439if (varRefOp != null && tableColumns.IsSet(varRefOp.Var)) 451return (varRefOp == null || !tableColumns.IsSet(varRefOp.Var)); 462if (varRefOp != null && tableColumns.IsSet(varRefOp.Var)) 485keyVar = varRefOp.Var;
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
2287if (varRefOp == null || varRefOp.Var != scanTableOp.Table.Columns[0])
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
765AddReference(op.Var);
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (2)
527if (TypeUtils.IsStructuredType(op.Var.Type)) 532AddPropertyRefs(op.Var, myProps);
System\Data\Query\PlanCompiler\TransformationRules.cs (17)
96if (varMap.TryGetValue(varRefOp.Var, out newNode)) 129return this.Command.CreateNode(this.Command.CreateVarRefOp(op.Var)); 563if (!varRefMap.TryGetValue(varRefOp.Var, out refCount)) 571varRefMap[varRefOp.Var] = refCount; 1325Var v = ((VarRefOp)isNullNode.Child0.Op).Var; 2246if (!nodeInfo.ExternalReferences.IsSet(varRefOp.Var)) 2272if (varRefOp != null && !nodeInfo.ExternalReferences.IsSet(varRefOp.Var)) 2275projectOp.Outputs.Set(varRefOp.Var); 2276trc.AddVarMapping(varDefOp.Var, varRefOp.Var); 2745if (varRefOp == null || !projectInputNodeInfo.Definitions.IsSet(varRefOp.Var)) 3905if (!nodeInfo.ExternalReferences.IsSet(varRefOp.Var)) 3930if (varRefOp != null && !nodeInfo.ExternalReferences.IsSet(varRefOp.Var)) 3933groupByOp.Outputs.Set(varRefOp.Var); 3935groupByOp.Keys.Set(varRefOp.Var); 3936trc.AddVarMapping(varDefOp.Var, varRefOp.Var); 4072if (m_varReplacementTable.TryGetValue(op.Var, out replacementNode)) 4128Var referencedVar = op.Var;
System\Data\Query\PlanCompiler\VarRemapper.cs (2)
243Var newVar = Map(op.Var); 244if (newVar != op.Var)