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