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.5.0.0 (5.5.18.1019)
Syntax public virtual string ToQueryText(
bool aliasesForExpressionsAggregates
)
Public Overridable Function ToQueryText (
aliasesForExpressionsAggregates As Boolean
) As String
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