alef posted on Friday, January 29, 2010
I have a table(
CatagoryContainer) that is setup as something like:
CategoryId (PK)ParentId (FK)NameDescriptionActiveThere is a relationship between
CategoryId and ParentId to allow for a hierarchical structure.
Category 1(ParentId:0)
Category 2(ParentId:1)
Category 3(ParentId:1)
Category 4(ParentId:1)
Category 6(ParentId:4)
Category 7(ParentId:4)
Category 5(ParentId:1)
I have the following use case:
End-user must have the possibility to create the hierarchy of these categories in a treeview.
So the user can add nodes and give a name to the category.
The user must also have the possibility to move nodes around.
Do you have an example how to implement this in CSLA.