5 references to ToSortClauseDescending
System.Data.Entity (5)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
109
result = (clause.Ascending ? CqtBuilder.ToSortClause(newExpression, clause.Collation) : CqtBuilder.
ToSortClauseDescending
(newExpression, clause.Collation));
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
2341
DbSortClause sortClause = DbExpressionBuilder.
ToSortClauseDescending
(keyExpression, collation);
2498
sortClause = (ascending ? DbExpressionBuilder.ToSortClause(sortKeyResult, collation) : DbExpressionBuilder.
ToSortClauseDescending
(sortKeyResult, collation));
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
4216
sortKeys.Add(ascSort ? keyExpr.ToSortClause(collation) : keyExpr.
ToSortClauseDescending
(collation));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
1539
sortClause = (sortKey.AscendingSort ? keyExpression.ToSortClause(sortKey.Collation) : keyExpression.
ToSortClauseDescending
(sortKey.Collation));