Click or drag to resize

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
)

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: String
The clause that goes in the ORDER BY clause.
See Also