Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
SqlHelper Class
SqlHelper Methods
GetCaseOrderBy Method
GetCaseOrderBy Method (IEnumerable(String))
GetCaseOrderBy Method (String[])
SqlHelper
GetCaseOrderBy Method (IEnumerable
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#
Copy
public
static
string
GetCaseOrderBy
(
IEnumerable
<
string
>
cases
)
Parameters
cases
Type:
System.Collections.Generic
IEnumerable
String
IEnumerable with boolean expressions (where conditions)
Return Value
Type:
String
See Also
Reference
SqlHelper Class
GetCaseOrderBy Overload
CMS.DataEngine Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com