Hello, I have a basic hierarchy defined in an SQL table:
Id ParentId Name
----------------------
1 Null Root
2 1 Node1
3 2 Node2
Is there a good LINQ-ish way to get the full path of a node? For example, i want to pass the Id of Node2 and get the full path like Root/Node1/Node2
.
Thank you in advance :)