Click here to Skip to main content
15,892,298 members

Comments by tardezyx (Top 1 by date)

tardezyx 14-Dec-22 1:06am View    
There are 2 solutions: 1) as Richard pointed out, just add the children class (or a list of it) as property to your parent class and 2) add the parent class as property to your children class. Instead of adding the classes, you could also add the corresponding IDs and use class methods to GetParent() or GetChildren().