S
shapper
Hello,
I created an SQL table using the Adjacency Model described here:
http://www.sqllessons.com/categories.html
By using this model I am able to hold many categories and
subcategories in one table.
I then need to create a Site Map using <ul> and <li> HTML tags.
I am trying to solve 2 problems, using LINQ:
1. Get all child nodes given the ID of a certain Node.
2. Get all categories and subcategories in one query.
Could someone help me doing this with LINQ?
Thanks,
Miguel
I created an SQL table using the Adjacency Model described here:
http://www.sqllessons.com/categories.html
By using this model I am able to hold many categories and
subcategories in one table.
I then need to create a Site Map using <ul> and <li> HTML tags.
I am trying to solve 2 problems, using LINQ:
1. Get all child nodes given the ID of a certain Node.
2. Get all categories and subcategories in one query.
Could someone help me doing this with LINQ?
Thanks,
Miguel