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