Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hierarchical Data
Message
From
14/06/2008 15:20:28
 
 
To
All
General information
Forum:
ASP.NET
Category:
LINQ
Title:
Hierarchical Data
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01324151
Message ID:
01324151
Views:
61
I have a table with and ID field and a ParentID field.

For a root record, ParentID = ID
For a child record ParentID = the ID of the Parent record.

All records are in the same table.

This is used for holding loose tree structured data. In VFP I would have just walked the tree manually. I just discovered that SQL server will let me show this as a foreign key relationship, which linq may be able to handle... Any idea if this will work?
Next
Reply
Map
View

Click here to load this message in the networking platform