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