IMapperResolveSortSpec Method |
Resolve a !Sort() expression into its constituent parts.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax string ResolveSortSpec(
string sort,
out string fieldKey,
out string subquery,
out string onClause
)
Function ResolveSortSpec (
sort As String,
<OutAttribute> ByRef fieldKey As String,
<OutAttribute> ByRef subquery As String,
<OutAttribute> ByRef onClause As String
) As String
Parameters
- sort
- Type: SystemString
The sort expression which must start with "!Sort(". - fieldKey
- Type: SystemString
The related field key being sorted. - subquery
- Type: SystemString
The subquery that needs to be used. - onClause
- Type: SystemString
The ON clause for the LEFT JOIN.
Return Value
Type:
StringThe clause that goes in the ORDER BY clause.
See Also