Click or drag to resize
SqlHelper.GetCaseOrderBy 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: 11.0.0
Syntax
C#
public static string GetCaseOrderBy(
	params string[] cases
)

Parameters

cases
Type:System.String[]
IEnumerable with boolean expressions (where conditions)

Return Value

Type: String
See Also