Click or drag to resize
BaseInfoGetOrderQueryParameters Method
Creates QueryDataParameters with special macros for object order management.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
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: QueryDataParameters
See Also