28 references to Limit
System.Data.Entity (28)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (1)
339VisitExpression(expression.Limit);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
525DbExpression newLimit = this.VisitExpression(expression.Limit); 528!object.ReferenceEquals(expression.Limit, newLimit))
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
547Dump(e.Limit, "Limit");
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
380e.Limit.Accept(this);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
611return this.Visit((e.WithTies ? "LimitWithTies" : "Limit"), e.Argument, e.Limit);
System\Data\Objects\ELinq\OrderByLifter.cs (15)
225DbExpression newCount = CombineIntegers(limit.Limit, minusK, 233DbExpression newCount = CombineIntegers(limit.Limit, k, Math.Min); 329if (_limit.Limit.ExpressionKind == DbExpressionKind.Constant && 381if (_limit.Limit.ExpressionKind == DbExpressionKind.Constant && 430DbExpressionBuilder.Limit(_skip, _limit.Limit), 442DbExpressionBuilder.Limit(_skip, _limit.Limit), 452if (_limit.Limit.ExpressionKind == DbExpressionKind.Constant && 464DbExpressionBuilder.Limit(_skip, _limit.Limit), 477_limit.Limit.ExpressionKind == DbExpressionKind.Constant && 491DbExpressionBuilder.Limit(_skip, _limit.Limit), 529DbExpressionBuilder.Limit(_sort, _limit.Limit), 540DbExpressionBuilder.Limit(_sort, _limit.Limit), 549if (_limit.Limit.ExpressionKind == DbExpressionKind.Constant && 561DbExpressionBuilder.Limit(_sort, _limit.Limit), 573DbExpressionBuilder.Limit(_sort, _limit.Limit),
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
331expression = rewrittenInput.Limit(expression.Limit);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1426Node limitNode = VisitExprAsScalar(expression.Limit);
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
478if (expression.Limit is DbParameterReferenceExpression)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (4)
1692Debug.Assert(e.Limit is DbConstantExpression || e.Limit is DbParameterReferenceExpression, "DbLimitExpression.Limit is of invalid expression type"); 1693Debug.Assert(!((this.SqlVersion == SqlVersion.Sql8) && (e.Limit is DbParameterReferenceExpression)), "DbLimitExpression.Limit is DbParameterReferenceExpression for SQL Server 2000."); 1706ISqlFragment topCount = HandleCountExpression(e.Limit) ;