Click or drag to resize

SortClauseProducers Class

Class which contains extension methods to produce sort clauses on fields / expressions.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.QuerySpecSortClauseProducers

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public static class SortClauseProducers

The SortClauseProducers type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAscending(String)
Creates a sort clause for a field with the alias specified, sorting ascending
Public methodStatic memberAscending(IEntityFieldCore)
Creates an ascending sort clause for the field specified
Public methodStatic memberAscending(IExpression)
Creates an ascending sort clause for the expression specified
Public methodStatic memberCaseInsensitive
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.
Public methodStatic memberDescending(String)
Creates a sort clause for a field with the alias specified, sorting descending
Public methodStatic memberDescending(IEntityFieldCore)
Creates a descending sort clause for the field specified
Public methodStatic memberDescending(IExpression)
Creates a descending sort clause for the expression specified
Public methodStatic memberDontEmitAliasForExpressionAggregateField
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.
Public methodStatic memberThenBy(ISortClause, ISortClause)
Appends an ISortClause to an existing ISortClause to form a new ISortExpression
Public methodStatic memberThenBy(ISortExpression, ISortClause)
Appends an ISortClause to an existing ISortExpression
Top
See Also