This question is locked. New answers and comments are not allowed.
Ok so I've got a table with parent\child relationships on the items
What I want to have in my partial class is a method to flatten all the children of the current node and any of it's children out into a List<int>.
Is that somehow doable with Linq, or do I have to loop through each item and it's children?
Thanks,
Steve
What I want to have in my partial class is a method to flatten all the children of the current node and any of it's children out into a List<int>.
Is that somehow doable with Linq, or do I have to loop through each item and it's children?
Thanks,
Steve