89 references to Variable
System.Data.Entity (88)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (5)
72
this.RebindVariable(binding.
Variable
, result.
Variable
);
359
this.OnEnterScope(new[] { result.
Variable
});
900
this.EnterScope(newLeft.
Variable
, newRight.
Variable
);
System\Data\Common\CommandTrees\ExpressionBindings.cs (1)
31
/// <seealso cref="
Variable
"/>
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (9)
1787
argumentResult = argument(binding.
Variable
);
1800
argumentExp = argument(leftBinding.
Variable
, rightBinding.
Variable
);
2232
DbExpression left = DbExpressionBuilder.Property(joinBinding.
Variable
, joinExpression.Left.VariableName);
2233
DbExpression right = DbExpressionBuilder.Property(joinBinding.
Variable
, joinExpression.Right.VariableName);
2402
return DbExpressionBuilder.Project(projectionBinding, DbExpressionBuilder.Property(projectionBinding.
Variable
, functorBinding.VariableName));
2447
DbExpression left = DbExpressionBuilder.Property(projectionBinding.
Variable
, inputBinding.VariableName);
2448
DbExpression right = DbExpressionBuilder.Property(projectionBinding.
Variable
, functorBinding.VariableName);
2494
DbExpression sortKeyResult = sortKey(source.Input.
Variable
);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (27)
298
converted = source.Project(source.
Variable
);
3033
fromClauseEntries.ForEach(scopeEntry => scopeEntry.AddParentVar(fromBinding.
Variable
));
3120
SourceScopeEntry sourceScopeEntry = new SourceScopeEntry(aliasedBinding.
Variable
);
3121
sr.CurrentScope.Add(aliasedBinding.
Variable
.VariableName, sourceScopeEntry);
3229
scopeEntries.ForEach(scopeEntry => scopeEntry.AddParentVar(joinBinding.
Variable
));
3280
scopeEntries.ForEach(scopeEntry => scopeEntry.AddParentVar(applyBinding.
Variable
));
3357
((SourceScopeEntry)scopeEntry).ReplaceParentVar(whereBinding.
Variable
);
3409
((SourceScopeEntry)scopeEntry).AdjustToGroupVar(groupInputBinding.Variable, groupInputBinding.GroupVariable, groupAggregateBinding.
Variable
);
3708
((SourceScopeEntry)scopeEntry).RollbackAdjustmentToGroupVar(source.
Variable
);
3791
new KeyValuePair<string, DbExpression>(keyInfo.Name, groupBinding.
Variable
.Property(keyInfo.Name))));
3800
groupBinding.
Variable
.Property(groupAggregateInfo.AggregateName))));
3834
new SourceScopeEntry(groupKeyInfo.VarRef).AddParentVar(groupBinding.
Variable
));
3848
new SourceScopeEntry(groupKeyInfo.VarRef, groupKeyInfo.AlternativeName).AddParentVar(groupBinding.
Variable
));
3867
new SourceScopeEntry(aggVarRef).AddParentVar(groupBinding.
Variable
));
3917
gpExpressionLambda.Invoke(groupBinding.
Variable
.Property(groupAggregateVarRef.VariableName))));
3931
groupBinding.
Variable
.Property(groupAggregateVarRef.VariableName)));
3968
return projectionExpression == projectExpression.Input.
Variable
;
3973
if (!TypeSemantics.IsEqual(projectExpression.Projection.ResultType, projectExpression.Input.
Variable
.ResultType))
3978
IBaseList<EdmMember> inputVariableTypeProperties = TypeHelpers.GetAllStructuralMembers(projectExpression.Input.
Variable
.ResultType);
3991
if (propertyRef.Instance != projectExpression.Input.
Variable
||
4135
sr.CurrentScope.Replace(projectionItems[0].Key, new SourceScopeEntry(source.
Variable
));
4145
new SourceScopeEntry(projectionExpressionRef).AddParentVar(source.
Variable
));
4288
((SourceScopeEntry)scopeEntry).ReplaceParentVar(sortBinding.
Variable
);
4738
DbExpressionBinding rightExpr = leftExpr.
Variable
.BindAs(sr.GenerateInternalName("r_flatten"));
4742
return applyBinding.Project(applyBinding.
Variable
.Property(rightExpr.VariableName));
4766
DbExpression rightSet = rSet.
Variable
;
4801
DbExpression rightSet = rSet.
Variable
;
System\Data\Mapping\FunctionImportMappingComposable.cs (3)
296
var entityTypeMappingView = GenerateStructuralTypeMappingView(type, propertyMappings, binding.
Variable
, errors);
311
List<DbExpression> structuralTypePredicates = m_structuralTypeMappings.Select(m => GenerateStructuralTypeConditionsPredicate(m.Item2, binding.
Variable
)).ToList();
323
var structuralTypeMappingView = GenerateStructuralTypeMappingView(type, propertyMappings, binding.
Variable
, errors);
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (2)
251
DbPropertyExpression propertyExpression = target.
Variable
.Property(property);
430
return target.
Variable
.Property(property);
System\Data\Objects\ELinq\ExpressionConverter.cs (3)
785
return TranslateLambda(lambda, binding.
Variable
);
797
return TranslateLambda(lambda, binding.
Variable
);
852
if (project.Projection == project.Input.
Variable
)
System\Data\Objects\ELinq\MethodCallTranslator.cs (25)
641
DbExpression normalizedExpr = NormalizeAllSetSources(parent, bindingExpr.
Variable
);
642
if (normalizedExpr != bindingExpr.
Variable
)
1635
DbPropertyExpression joinOuter = joinBinding.
Variable
.Property(outerBinding.VariableName);
1636
DbPropertyExpression joinInner = joinBinding.
Variable
.Property(innerBinding.VariableName);
1802
DbProjectExpression operandCastProjection = operandCastBinding.Project(operandCastBinding.
Variable
.CastTo(returnType));
2192
operand = o.Project(new Row(((DbExpression)1).As("sentinel"), o.
Variable
.As("value")));
2198
DbExpression projection = joinBinding.
Variable
.Property(rightBinding.VariableName);
2286
return sourceBinding.Filter(parent.CreateEqualsExpression(sourceBinding.
Variable
, value, pattern, sourceArgumentType, valueExpression.Type)).Exists();
2538
var newApply = newInput.
Variable
.Property(lojRightInput.Name).BindAs(innerBindingName);
2554
apply = applyInput.OuterApply(applyInput.
Variable
.Property(lojRightInput).BindAs(parent.AliasGenerator.Next()));
2559
RowType applyRowType = (RowType)(applyBinding.
Variable
.ResultType.EdmType);
2560
CqtExpression projectRight = applyBinding.
Variable
.Property(applyRowType.Properties[1]);
2565
CqtExpression projectLeft = applyBinding.
Variable
.Property(applyRowType.Properties[0]);
2648
if (rightProjectProjection.Instance != rightProject.Input.
Variable
||
2688
if (lojRight.Instance != crossApply.Input.
Variable
)
2727
CqtExpression cast = parent.CreateCastExpression(binding.
Variable
, toClrType, fromClrType);
2768
CqtExpression selection = groupByBinding.
Variable
.Property(GroupColumnName);
2784
projectionTerms[0] = groupByBinding.
Variable
.Property(KeyColumnName);
2823
DbPropertyExpression keyExpression = topLevelProjectBinding.
Variable
.Property(KeyColumnName);
2824
DbPropertyExpression groupExpression = topLevelProjectBinding.
Variable
.Property(GroupColumnName);
2886
recordColumns.Add(new KeyValuePair<string, CqtExpression>(outerColumn, outerBinding.
Variable
));
2894
CqtExpression outerProperty = joinProjectBinding.
Variable
.Property(outerColumn);
2895
CqtExpression innerProperty = joinProjectBinding.
Variable
.Property(innerColumn);
2945
if (rename.Instance != project.Input.
Variable
)
3030
parent._bindingContext.PushBindingScope(new Binding(parameter, binding.
Variable
));
System\Data\Objects\ELinq\OrderByLifter.cs (4)
176
DbExpression filter = this.Filter(rootBinding.Filter(rootBinding.
Variable
.IsOf(type)));
179
DbExpression project = filterLifter.Project(filterBinding.Project(filterBinding.
Variable
.TreatAs(type)));
192
DbLambda secondLambda = DbExpressionBuilder.Lambda(second.Projection, second.Input.
Variable
);
205
DbLambda secondLambda = DbExpressionBuilder.Lambda(second.Predicate, second.Input.
Variable
);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
508
DbExpression projection = collectionBinding.
Variable
;
System\Data\Objects\ObjectContext.cs (1)
2199
DbExpression sourceEntityKey = entitySetBinding.
Variable
.GetEntityRef().GetRefKey();
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
249
get { return _binding.
Variable
; }
System\Data\Query\PlanCompiler\ITreeGenerator.cs (3)
1862
typeFilter.ToEnumerable().Select(tf => tf.Value ? resultBinding.
Variable
.IsOfOnly(tf.Key) : resultBinding.
Variable
.IsOf(tf.Key)).ToList()
1940
DbTreatExpression treatProjection = treatBinding.
Variable
.TreatAs(ofTypeExp.OfType);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (3)
219
FlattenProperties(leftInputBinding.
Variable
, leftFlattenedProperties);
220
FlattenProperties(rightInputBinding.
Variable
, rightFlattenedProperties);
467
flattenedProperties.Add(resultBinding.
Variable
.Property(prop));
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1607
DbExpressionBuilder.Property(inputBinding.
Variable
, propertyInfo)));