|
-
November 26th, 2008, 03:33 PM
#1
Newb Linq DataContext Association Question
I'm trying to wrap my head around the LINQ to SQL dbml file and using it in my code
If I add two tables
Table1
ID
DESCRIPTION
Table2
FKID
VALUE1
VALUE2
Then add in an association for the ID fields...should I then not be able to reference table2 in a linq query and get access to table1.DESCRIPTION?
I just seem to be getting two classes made called Table1 and Table2...I was assuming the join happened in the dbml so I get the complete object in my code...not the case?
Any info would be great,
Thanks,
Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|