Click or drag to resize
BaseInfoInitObjectsOrder Method
Inits the proper order of the sibling objects so the order column is consistent.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
protected virtual void InitObjectsOrder(
	string orderColumn,
	string nameColumn = null,
	bool ascending = true


Type: SystemString
Name of the column that is used for storing the object's order. If null, OrderColumn is taken from TypeInfo.
nameColumn (Optional)
Type: SystemString
>Name of the column by which the order is to be set. DisplayNameColumn is used if not given.
ascending (Optional)
Type: SystemBoolean
Indicates whether the order is ascending or descending (ascending order is used by default).
See Also