Kentico 9.0 API Reference
Kentico 9.0 API Reference
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: 9.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) 2015 Kentico Software
Send comments on this topic to
support@kentico.com