John Baird
Coatesville, Pennsylvania, United States
>>HI
>>
>>I've created a database in SQL2008. Two tables with a foreign key relationship.
>>
>>Then in Visual Studio2008 I'm trying to create a LINQ to SQL Data Model.
>>
>>I drag the tables onto the design surface but no Foreign key is appearing.
>>
>> I thought that appeared automatically if the key was defined in the database.
>>
>>Any ideas what I might have missed.
>>
>>
>>Thanks
>>
>>Nick
>
>
>Stupid question, but do you mean the EF designer or sqlMetal for Linq to SQL?
Not stupid and Not sure what you mean by sqlMetal
this is
model
Add
Linq to Sql
the drag the tables onto the design surface but I get no foreign key.
Nick
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only