19 references to OrderByClause
System.Data.Entity (19)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (19)
2729
if (queryExpr.
OrderByClause
!= null && queryExpr.
OrderByClause
.LimitSubClause != null)
2734
if (queryExpr.
OrderByClause
!= null && queryExpr.
OrderByClause
.SkipSubClause != null)
2757
Debug.Assert(isRestrictedViewGenerationMode ? null == queryExpr.
OrderByClause
: true, "ORDER BY clause must be null in RestrictedViewGenerationMode");
2816
if (selectClause.TopExpr != null || (queryExpr.
OrderByClause
!= null && queryExpr.
OrderByClause
.LimitSubClause != null))
2822
Debug.Assert(queryExpr.
OrderByClause
== null || queryExpr.
OrderByClause
.LimitSubClause == null, "TOP and LIMIT in the same query are not allowed");
2828
limitExpr = queryExpr.
OrderByClause
.LimitSubClause;
2869
if (selectClause.Items[0].Alias != null && queryExpr.
OrderByClause
== null)
3600
if (null != queryExpr.
OrderByClause
|| queryExpr.SelectClause.HasMethodCall)
3643
if (null != queryExpr.
OrderByClause
&& queryExpr.
OrderByClause
.HasMethodCall)
3661
for (int i = 0; i < queryExpr.
OrderByClause
.OrderByClauseItem.Count; i++)
3663
AST.OrderByClauseItem orderItem = queryExpr.
OrderByClause
.OrderByClauseItem[i];
4051
Debug.Assert((sr.ParserOptions.ParserCompilationMode == ParserOptions.CompilationMode.RestrictedViewGenerationMode) ? null == queryExpr.
OrderByClause
: true, "ORDER BY clause must be null in RestrictedViewGenerationMode");
4055
if (queryExpr.
OrderByClause
== null)
4061
AST.OrderByClause orderByClause = queryExpr.
OrderByClause
;