Click or drag to resize
SqlHelperAddOrderBy Method
Adds the order by to an existing one.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string AddOrderBy(
	string orderBy,
	string add,
	OrderDirection dir = OrderDirection.Default
)

Parameters

orderBy
Type: SystemString
Original order by
add
Type: SystemString
Order by to add
dir (Optional)
Type: CMS.DataEngineOrderDirection
Order direction

Return Value

Type: String
See Also