Compartir a través de


EcoResCategory::rebuildNestedSetTree Method

Calculates the value of the NestedSetRight and NestedSetLeft fields by using information from the ParentCategory field.

Syntax

server public static void rebuildNestedSetTree(EcoResCategoryHierarchyId _ecoResCategoryHierarchyId)

Run On

Server

Parameters

Remarks

This method can be called to rebuild the nested set values. Before running this method, you must disable the unique index on the values of the NestedSetRight and NestedSetLeft fields.

See Also

Reference

EcoResCategory Table