开发者

Table isn't showing up as a FK dependency (dotted line assoc) when added to .edmx?

开发者 https://www.devze.com 2023-04-10 08:12 出处:网络
I have a TableA that includes a TableBId dependency.When I try to delete and re-include TableB my .edmx is still not showing an association between TableA and TableB.My db is FK relationthip in the db

I have a TableA that includes a TableBId dependency. When I try to delete and re-include TableB my .edmx is still not showing an association between TableA and TableB. My db is FK relationthip in the db looks fine. 开发者_开发技巧

Any ideas? When I try to add the Navigation property to the table it won't let me select the "Select Association" the property as I thought I could manually add the association within the .edmx.


Unless you've really customized the entity, delete both and right click and add again from the database.

0

精彩评论

暂无评论...
验证码 换一张
取 消