I added an association in the Linq-to-sql designer, but Visual Studio did not generated the code necessary for the field.
I have RequestFormView and a ItemRequestView in the designer. I added the parent-child association manually in the designer by doing “Add Association”. The association looks good in the designer, however the RequestFormView class (in code) does not have the “ItemRequestsViews” that I specified in the “Child Property” setting.
Any suggestions?
Thank you!
All I needed to do was to set the Primary Keys in the Linq-to-sql designer for RequestFormView and ItemRequestView because the entities I was working on were based on SQL views.