Hierarchical data in Linq – options and performance July 27, 2022 by Tarik This option might also prove useful: LINQ AsHierarchy() extension method http://www.scip.be/index.php?Page=ArticlesNET18