I am trying to contemplate on whether to use a O/R Mapper or not for my project and found LLBLGen Pro quite nice.
I was trying to do a sample project for one of my tables which for some reason was designed in the following way:
It has the following fields:
HIERARCHY_ID PK - Mapped to another table
NODE_ID PK
PARENT_NODE_ID
Right now, I make use of the datatable to retrieve the records and populate my collection in such a way that I get a RootNode for the hierarchy and the RootNode becomes the first ParentNode for its childs. This RootNode contains a collection of its childnodes and the childnodes contains their childs collection. I use this collection to create a tree.
Can you please help me on how to achieve this using LLBLGen Pro?
Also, I have another question. Currently my application contains these layers: WinForms Layer -> Win UI Controls Layer -> FrameWork Layer -> Security Layer -> DAL. The reason for me to have so many layers is because the users will be able to make use of the Framework and the WinUI controls layer and write custom code from the application.
Can you please let me know how to make use of this tool with minimum changes to my app?
Thanks,
Adi