6 references to ToSortClause
System.Data.Entity (6)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
113
result = (clause.Ascending ? CqtBuilder.
ToSortClause
(newExpression) : CqtBuilder.ToSortClauseDescending(newExpression));
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
2262
DbSortClause sortClause = DbExpressionBuilder.
ToSortClause
(keyExpression);
2502
sortClause = (ascending ? DbExpressionBuilder.
ToSortClause
(sortKeyResult) : DbExpressionBuilder.ToSortClauseDescending(sortKeyResult));
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
4212
sortKeys.Add(ascSort ? keyExpr.
ToSortClause
() : keyExpr.ToSortClauseDescending());
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2988
DbSortClause sortSpec = (_ascending ? lambda.
ToSortClause
() : lambda.ToSortClauseDescending());
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
1543
sortClause = (sortKey.AscendingSort ? keyExpression.
ToSortClause
() : keyExpression.ToSortClauseDescending());