awykel (1) [Avatar] Offline
I have a class where I am trying to create a one to many association between two Entities bother having the same filed in common, Parent / forign key. When I make the association in the designer the designer does not generate the entityRef and EntitySet classes. I don't understand this behavior.
jwooley (123) [Avatar] Offline
Re: Associations not working in Designer
Do you have the foreign keys set-up in your database? By default LINQ to SQL uses the foreign keys to infer these relationships. Alternatively, you can add associations using the LINQ to SQL designers.