95 references to Expression
System.Data.Entity (95)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (2)
53VisitExpression(binding.Expression); 672VisitExpression(expression.Apply.Expression);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
68DbExpression newInput = this.VisitExpression(binding.Expression); 69if (!object.ReferenceEquals(binding.Expression, newInput))
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
517return new DbSkipExpression(input.Expression.ResultType, input, validSortOrder, count); 536return new DbSortExpression(input.Expression.ResultType, input, validSortOrder);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
558return input.Expression.ResultType;
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
93Dump(binding.Expression);
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
118binding.Expression.Accept(this);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
254return this.VisitWithLabel(propName, binding.VariableName, binding.Expression);
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (2)
271return (e => { if (e.ExpressionKind != DbExpressionKind.Filter) { return false; } else { DbFilterExpression filterEx = (DbFilterExpression)e; return inputPattern(filterEx.Input.Expression) && predicatePattern(filterEx.Predicate); } }); 279return (e => { if (e.ExpressionKind != DbExpressionKind.Project) { return false; } else { DbProjectExpression projectEx = (DbProjectExpression)e; return inputPattern(projectEx.Input.Expression) && projectionPattern(projectEx.Projection); } });
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
416DbFilterExpression booleanColumnFilter = (DbFilterExpression)entityProjection.Input.Expression; 417DbProjectExpression rowProjection = (DbProjectExpression)booleanColumnFilter.Input.Expression; 418DbFilterExpression discriminatorFilter = (DbFilterExpression)rowProjection.Input.Expression; 633DbProjectExpression innerProject = (DbProjectExpression)outerProject.Input.Expression;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (3)
2798projectExpression = source.Expression; 3389DbGroupExpressionBinding groupInputBinding = source.Expression.GroupBindAs(sr.GenerateInternalName("geb"), sr.GenerateInternalName("group")); 3958if (projectExpression.Input.Expression != lambdaVariable)
System\Data\Mapping\Update\Internal\Propagator.cs (4)
145DbExpression leftExpr = node.Left.Expression; 146DbExpression rightExpr = node.Right.Expression; 221ChangeNode input = Visit(node.Input.Expression); 296ChangeNode input = Visit(node.Input.Expression);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (2)
87if (project.Input.Expression.ExpressionKind != DbExpressionKind.Filter) { return false; } 88var filterExpression = (DbFilterExpression)project.Input.Expression;
System\Data\Mapping\ViewValidator.cs (1)
290return this.VisitExpression(binding.Expression);
System\Data\Objects\ELinq\ExpressionConverter.cs (5)
462ApplySpanMapping(input.Expression, retExpr); 494ApplySpanMapping(input.Expression, retExpr); 502ApplySpanMapping(input.Expression, retExpr); 509ApplySpanMapping(input.Expression, retExpr); 854input = project.Input.Expression;
System\Data\Objects\ELinq\MethodCallTranslator.cs (11)
2537var newInput = applyInput.Expression.BindAs(outerBindingName); 2625if (crossApply.Apply.Expression.ExpressionKind != DbExpressionKind.Project) 2629var rightProject = (DbProjectExpression)crossApply.Apply.Expression; 2632if (rightProject.Input.Expression.ExpressionKind != DbExpressionKind.LeftOuterJoin) 2636var loj = (DbJoinExpression)rightProject.Input.Expression; 2669if (loj.Left.Expression.ExpressionKind != DbExpressionKind.NewInstance) 2673var lojLeft = (DbNewInstanceExpression)loj.Left.Expression; 2683if (loj.Right.Expression.ExpressionKind != DbExpressionKind.Property) 2687var lojRight = (DbPropertyExpression)loj.Right.Expression; 2952if (project.Input.Expression.ExpressionKind != DbExpressionKind.Project) 2956var innerProject = (DbProjectExpression)project.Input.Expression;
System\Data\Objects\ELinq\OrderByLifter.cs (13)
45OrderByLifterBase lifter = GetLifter(input.Expression); 51OrderByLifterBase lifter = GetLifter(input.Expression); 63OrderByLifterBase lifter = GetLifter(input.Expression); 109DbExpression projectInput = project.Input.Expression; 151DbExpression projectInput = project.Input.Expression; 308_source = skip.Input.Expression; 362_source = sort.Input.Expression; 420_source = skip.Input.Expression; 520_source = sort.Input.Expression; 594_source = _skip.Input.Expression; 647_source = skip.Input.Expression; 698_source = sort.Input.Expression; 742_source = sort.Input.Expression;
System\Data\Objects\Internal\ObjectSpanRewriter.cs (9)
466target = project.Input.Expression; 817DbExpression found = Find(expression.Input.Expression); 818if(!object.ReferenceEquals(found, expression.Input.Expression)) 844DbExpression found = Find(expression.Input.Expression); 845if (!object.ReferenceEquals(found, expression.Input.Expression)) 857DbExpression found = Find(expression.Input.Expression); 858if(!object.ReferenceEquals(found, expression.Input.Expression)) 870DbExpression found = Find(expression.Input.Expression); 871if (!object.ReferenceEquals(found, expression.Input.Expression))
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
236internal DbExpression Publisher { get { return _binding.Expression; } } 492DbGroupExpressionBinding newBinding = inputInfo.CreateBinding().Expression.GroupBindAs(varName, groupVarName);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (7)
768return VisitBoundExpressionPushBindingScope(binding.Expression, binding.VariableName); 1920result = ApplyIsOfFilter(filter.Input.Expression, typeFilter); 1925DbExpression rewritten = ApplyIsOfFilter(filter.Input.Expression, typeFilter); 1953result = ApplyIsOfFilter(project.Input.Expression, typeFilter); 1967DbExpression sortInput = ApplyIsOfFilter(sort.Input.Expression, typeFilter); 2179DbExpression processed = ApplyIsOfFilter(e.Input.Expression, new IsOfFilter(isOfPredicate)); 2304Node inputNode = VisitBoundExpression(inputs[idx].Expression, out boundVar);
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (8)
47tree.Target.Expression.Accept(translator); 97tree.Target.Expression.Accept(translator); 115EntityType tableType = (EntityType)((DbScanExpression)tree.Target.Expression).Target.ElementType; 162tree.Target.Expression.Accept(translator); 248foreach (EdmMember keyMember in ((DbScanExpression)tree.Target.Expression).Target.ElementType.KeyMembers) 351tree.Target.Expression.Accept(translator); 371tree.Target.Expression.Accept(translator); 376EntitySetBase table = ((DbScanExpression)tree.Target.Expression).Target;
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
116return VisitExpression(expressionBinding.Expression);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
132DbExpression leftInput = VisitExpression(e.Input.Expression); //Another copy of the input
System\Data\SqlClient\SqlGen\SqlGenerator.cs (12)
2234SqlSelectStatement result = VisitInputExpression(e.Input.Expression, e.Input.VariableName, e.Input.VariableType, out fromSymbol); 2462SqlSelectStatement input = VisitInputExpression(e.Input.Expression, e.Input.VariableName, e.Input.VariableType, out fromSymbol); 2563SqlSelectStatement result = VisitInputExpression(e.Input.Expression, e.Input.VariableName, e.Input.VariableType, out fromSymbol); 3055bool needsJoinContext = (input.Expression.ExpressionKind == DbExpressionKind.Scan) 3057(IsJoinExpression(input.Expression) 3058|| IsApplyExpression(input.Expression))) 3067ISqlFragment fromExtentFragment = input.Expression.Accept(this); 3151if (IsJoinExpression(input.Expression) 3152|| IsApplyExpression(input.Expression)) 3197else if (input.Expression is DbScanExpression) 3203WrapNonQueryExtent(result, fromExtentFragment, input.Expression.ExpressionKind); 4152SqlSelectStatement result = VisitInputExpression(input.Expression,