SqlHelper EnsureOrderByColumns Method Kentico 8.0 API Reference
Ensures that the order by columns are provided within the list of columns as aliases, modifies the order by expression to the aliases of those columns

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

orderBy
Type: OnlineSystem String 
Order by expression
columns
Type: OnlineSystem String 
List of selected columns
See Also