Click or drag to resize
SqlHelperGetCaseOrderBy Method (String)
Returns order by statement based on case boolean expressions. First case has highest priority.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static string GetCaseOrderBy(
	params string[] cases
)

Parameters

cases
Type: SystemString
IEnumerable with boolean expressions (where conditions)

Return Value

Type: String
See Also