开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜