This is a migrated thread and some comments may be shown as answers.

Linq To SQL

0 Answers 48 Views
OQL (OQL specific questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ravi Prasad Potturi
Top achievements
Rank 1
Ravi Prasad Potturi asked on 24 Feb 2010, 09:34 PM
Hi,

I have Course, Unit and Lesson tables. Each table has ID and Name Columns.

We don’t have relations in database and in LINQ designer. We relate using IDs.

The relation is, each course has multiple units. Each unit has multiple lessons.

 I also have Course, Unit and Lesson classes having ID, Name and Child list.

I want to get the Course collection and associated child objects using stored procedure (LINQ to SQL).

I am not really sure how to implement this.

Could you please advice me to resolve this issue?
Thanks
Ravi Potturi

Tags
OQL (OQL specific questions)
Asked by
Ravi Prasad Potturi
Top achievements
Rank 1
Share this question
or