Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com