SqlHelper GetCaseOrderBy Method (IEnumerable String )Kentico 8.0 API Reference
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: 8.0.0.0 (8.0.5239.26125)

Parameters

cases
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
IEnumerable with boolean expressions (where conditions)

Return Value

Type: OnlineString
See Also