Association end is not mapped in ADO entity framework

后端 未结 7 1769
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-14 12:00

I am just starting out with ADO.net Entity Framework I have mapped two tables together and receive the following error:

Error   1   Error 11010: Association End          


        
7条回答
  •  梦毁少年i
    2021-02-14 12:58

    I had the exact same problem and this is what I did to fix it.

    Make sure you have an Entity Key set in your designer on the tables your making an association with. Also check that StoreGeneratedPattern is set to Identity for that Entity Key.

提交回复
热议问题