Tutorial :SQL table relationship not showing up in visual studio



Question:

Hey, I made several tables and relationships using SQL server manager. I then imported them to visual studio and it all appeared in the correct form, except one of the relationships did not appear. I have checked everything I could think of and it is the exact same as the other relationships. If you know anything I can check, I would appreciate it. Thanks

I am using the entity framework, visual studio 2010.


Solution:1

Are all the foreign-key relationships defined correctly? Do the tables in question have primary keys assigned?


Solution:2

So, I fixed this by simply deleting the table and recreating. Finding the issue was not worth the trouble.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »