68 references to BindAs
System.Data.Entity (67)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
71
result = CqtBuilder.
BindAs
(newInput, binding.VariableName);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (5)
84
return DbExpressionBuilder.
BindAs
(input, _bindingAliases.Next());
1786
DbExpressionBinding binding = DbExpressionBuilder.
BindAs
(source, alias);
1798
DbExpressionBinding leftBinding = DbExpressionBuilder.
BindAs
(left, aliases[0]);
1799
DbExpressionBinding rightBinding = DbExpressionBuilder.
BindAs
(right, aliases[1]);
1911
DbExpressionBinding applyBinding = DbExpressionBuilder.
BindAs
(applyTemplate.Value, applyTemplate.Key);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
509
DbExpression result = discriminatorFilter.
BindAs
(rowProjection.Input.VariableName).Project(newEntitySelector);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (16)
296
DbExpressionBinding source = converted.
BindAs
(sr.GenerateInternalName("extent"));
3028
fromBinding = fromBinding.CrossApply(currentItemBinding).
BindAs
(sr.GenerateInternalName("lcapply"));
3115
aliasedBinding = converted.
BindAs
(aliasName);
3222
joinKind, onExpr, leftBindingExpr, rightBindingExpr).
BindAs
(sr.GenerateInternalName("join"));
3273
rightBindingExpr).
BindAs
(sr.GenerateInternalName("apply"));
3345
whereBinding = source.Filter(filterConditionExpr).
BindAs
(sr.GenerateInternalName(bindingNameTemplate));
3396
DbExpressionBinding groupAggregateBinding = groupAggregateVarRef.
BindAs
(sr.GenerateInternalName("groupPartitionItem"));
3761
DbExpressionBinding groupBinding = groupBy.
BindAs
(sr.GenerateInternalName("group"));
3803
groupBinding = groupBinding.Project(projectExpression).
BindAs
(sr.GenerateInternalName("groupPartitionDefs"));
4127
source = projectExpression.
BindAs
(sr.GenerateInternalName("distinct"));
4242
sortBinding = sortSourceExpr.
BindAs
(sr.GenerateInternalName("sort"));
4736
DbExpressionBinding leftExpr = elemExpr.
BindAs
(sr.GenerateInternalName("l_flatten"));
4738
DbExpressionBinding rightExpr = leftExpr.Variable.
BindAs
(sr.GenerateInternalName("r_flatten"));
4740
DbExpressionBinding applyBinding = leftExpr.CrossApply(rightExpr).
BindAs
(sr.GenerateInternalName("flatten"));
4763
DbExpressionBinding rSet = args.Right.
BindAs
(sr.GenerateInternalName("in-filter"));
4798
DbExpressionBinding rSet = args.Right.
BindAs
(sr.GenerateInternalName("in-filter"));
System\Data\Mapping\FunctionImportMappingComposable.cs (3)
295
var binding = queryExpression.
BindAs
("row");
306
var binding = queryExpression.
BindAs
("row");
315
binding = queryExpression.
BindAs
("row");
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
501
return processor.Table.Scan().
BindAs
(s_targetVarName);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
783
binding = input.
BindAs
(_aliasGenerator.Next());
795
binding = input.
BindAs
(bindingName);
System\Data\Objects\ELinq\MethodCallTranslator.cs (19)
640
DbExpressionBinding bindingExpr = DbExpressionBuilder.
BindAs
(argumentExpr, parent.AliasGenerator.Next());
1566
return parent.Skip(operand.
BindAs
(parent.AliasGenerator.Next()), count);
1632
DbExpressionBinding joinBinding = join.
BindAs
(parent.AliasGenerator.Next());
1801
DbExpressionBinding operandCastBinding = operand.
BindAs
(parent.AliasGenerator.Next());
1981
DbProjectExpression constantProject = operand.
BindAs
(parent.AliasGenerator.Next()).Project(DbExpressionBuilder.Constant(1));
2185
DbExpressionBinding leftBinding = left.
BindAs
(parent.AliasGenerator.Next());
2191
DbExpressionBinding o = operand.
BindAs
(parent.AliasGenerator.Next());
2195
DbExpressionBinding rightBinding = operand.
BindAs
(parent.AliasGenerator.Next());
2197
DbExpressionBinding joinBinding = join.
BindAs
(parent.AliasGenerator.Next());
2280
DbExpressionBinding sourceBinding = source.
BindAs
(parent.AliasGenerator.Next());
2537
var newInput = applyInput.Expression.
BindAs
(outerBindingName);
2538
var newApply = newInput.Variable.Property(lojRightInput.Name).
BindAs
(innerBindingName);
2554
apply = applyInput.OuterApply(applyInput.Variable.Property(lojRightInput).
BindAs
(parent.AliasGenerator.Next()));
2558
DbExpressionBinding applyBinding = apply.
BindAs
(parent.AliasGenerator.Next());
2707
DbExpressionBinding applyBinding = lambda.
BindAs
(parent.AliasGenerator.Next());
2725
DbExpressionBinding binding = source.
BindAs
(parent.AliasGenerator.Next());
2765
DbExpressionBinding groupByBinding = groupBy.
BindAs
(parent.AliasGenerator.Next());
2822
DbExpressionBinding topLevelProjectBinding = topLevelProject.
BindAs
(parent.AliasGenerator.Next());
2890
DbExpressionBinding joinProjectBinding = joinProject.
BindAs
(parent.AliasGenerator.Next());
System\Data\Objects\ELinq\OrderByLifter.cs (8)
175
DbExpressionBinding rootBinding = _root.
BindAs
(_aliasGenerator.Next());
178
DbExpressionBinding filterBinding = filter.
BindAs
(_aliasGenerator.Next());
258
DbExpressionBinding inputBinding = input.
BindAs
(project.Input.VariableName);
264
DbExpressionBinding inputBinding = input.
BindAs
(filter.Input.VariableName);
270
DbExpressionBinding inputBinding = input.
BindAs
(sort.Input.VariableName);
276
DbExpressionBinding inputBinding = input.
BindAs
(sortSpec.Input.VariableName);
282
DbExpressionBinding inputBinding = input.
BindAs
(sort.Input.VariableName);
288
DbExpressionBinding inputBinding = input.
BindAs
(skip.Input.VariableName);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (6)
500
result = target.
BindAs
(project.Input.VariableName).Project(newProjection);
507
DbExpressionBinding collectionBinding = target.
BindAs
(_aliasGenerator.Next());
820
return found.
BindAs
(expression.Input.VariableName).Filter(expression.Predicate);
847
return found.
BindAs
(expression.Input.VariableName).Project(expression.Projection);
860
return found.
BindAs
(expression.Input.VariableName).Sort(expression.SortOrder);
873
return found.
BindAs
(expression.Input.VariableName).Skip(expression.SortOrder, expression.Count);
System\Data\Objects\ObjectContext.cs (1)
2196
DbExpressionBinding entitySetBinding = targetSet.Scan().
BindAs
("EntitySet");
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
222
_binding = publisher.
BindAs
(bindingName);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
1926
result = rewritten.
BindAs
(filter.Input.VariableName).Filter(filter.Predicate);
1968
result = sortInput.
BindAs
(sort.Input.VariableName).Sort(sort.SortOrder);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
149
DbExpression result = exceptExpression.
BindAs
(e.Input.VariableName).Sort(sortOrder);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1600
DbExpressionBinding inputBinding = DbExpressionBuilder.
BindAs
(DbExpressionBuilder.Scan(entitySet), entitySet.Name);