Query hierarchical data

Retiring hierarchical data is easy, we dont need to iterate by for/while loop. just use ‘Above’ or ‘Under’ keywords, then it will serve you all parents or all child available. in regular query, just ‘ConditionOperator.Above’ to get all parents. in regular query, just ‘ConditionOperator.Under’ to get all child. How to create this type of structure…