BaseInfoGetOrderQueryParameters Method |
Creates QueryDataParameters with special macros for object order management.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax protected virtual QueryDataParameters GetOrderQueryParameters(
string orderColumn,
string nameColumn = null,
bool asc = true
)
Parameters
- orderColumn
- Type: SystemString
Name of the order column. If null, OrderColumn from TypeInfo is taken - nameColumn (Optional)
- Type: SystemString
Name of the column by which the order should be initialized (if not set, displayname column is used) - asc (Optional)
- Type: SystemBoolean
If true the order will be ascending (default is true)
Return Value
Type:
QueryDataParametersSee Also