Click or drag to resize
SortExpressionToQueryText Method (Boolean)
Retrieves a ready to use text representation for the sort clauses contained in this expression.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public virtual string ToQueryText(
	bool aliasesForExpressionsAggregates
)

Parameters

aliasesForExpressionsAggregates
Type: SystemBoolean
If set to false (default is true), the full field name with expression / aggregate is placed in the result string instead of the alias of the field. If set to true, aliases are used for fields with an expression and/or aggregate applied.

Return Value

Type: String
string which is usable as the argument for the ORDER BY clause in a query

Implements

ISortExpressionToQueryText(Boolean)
See Also