If you are asking how you get the child items of a parent, then:

1) Define the foreign key constraint in your database table
2) Run Dbmetal to create your DbLinq DataContext class

You database class should have both the Parent and Child tables now, with 
the Parent having an EntitySet<Child> Child in the Children region. You can 
then go through them like any other IEnumerable class:

foreach (Child _child in Parent.Child)
{
    ...
}

Should be that simple, unless of course I misunderstood the 
question/problem.

- Sami 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to