Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hierarchical Data
Message
De
14/06/2008 15:20:28
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Titre:
Hierarchical Data
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01324151
Message ID:
01324151
Vues:
62
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform