SortClauseProducers Methods |
The SortClauseProducers type exposes the following members.
Name | Description | |
---|---|---|
Ascending(String) |
Creates a sort clause for a field with the alias specified, sorting ascending
| |
Ascending(IEntityFieldCore) |
Creates an ascending sort clause for the field specified
| |
Ascending(IExpression) |
Creates an ascending sort clause for the expression specified
| |
CaseInsensitive |
Sets the CaseSensitiveCollation flag on the sort clause specified. This will apply the UPPER() function (or db specific equivalent) to the field in the ORDER BY clause.
| |
Descending(String) |
Creates a sort clause for a field with the alias specified, sorting descending
| |
Descending(IEntityFieldCore) |
Creates a descending sort clause for the field specified
| |
Descending(IExpression) |
Creates a descending sort clause for the expression specified
| |
DontEmitAliasForExpressionAggregateField |
Sets the EmitAliasForExpressionAggregateField flag on the sort clause specified to false. The value of the flag indicates whether the alias of the field
should be emitted if it has an expression/aggregate or the full field / expression.
Using this method sets this flag to false indicating that the field in this sortclause isn't used in the projection and it has an expression/aggregate assigned to it.
|