18 references to Count
System.Data.Entity (18)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (1)
711
VisitExpression(expression.
Count
);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
992
DbExpression newCount = this.VisitExpression(expression.
Count
);
996
!object.ReferenceEquals(expression.
Count
, newCount))
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
813
Dump(e.
Count
, "Count");
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
688
e.
Count
.Accept(this);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
983
retInfo.Children.Add(this.Visit("Count", e.
Count
));
System\Data\Objects\ELinq\OrderByLifter.cs (4)
218
DbExpression newCount = CombineIntegers(skip.
Count
, plusK,
476
if (_skip.
Count
.ExpressionKind == DbExpressionKind.Constant &&
623
if (_skip.
Count
.ExpressionKind == DbExpressionKind.Constant &&
672
if (_skip.
Count
.ExpressionKind == DbExpressionKind.Constant &&
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
873
return found.BindAs(expression.Input.VariableName).Skip(expression.SortOrder, expression.
Count
);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2902
Node countNode = VisitExprAsScalar(expression.
Count
);
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (2)
648
if (expression.
Count
is DbParameterReferenceExpression)
656
VisitExpression(expression.
Count
);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
129
DbExpression rightInput = VisitExpressionBinding(e.Input).Sort(VisitSortOrder(e.SortOrder)).Limit(VisitExpression(e.
Count
));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (3)
2458
Debug.Assert(e.
Count
is DbConstantExpression || e.
Count
is DbParameterReferenceExpression, "DbSkipExpression.Count is of invalid expression type");
2544
result.Where.Append(HandleCountExpression(e.
Count
));