Entity Framework 4 Error: Unable to update the EntitySet because it has a DefiningQuery

前端 未结 4 1390
臣服心动
臣服心动 2021-01-01 19:23

Okay, here\'s the scenario. I have 3 tables. One called aspnet_Users one called Categories and a linking table called User_Categories. aspnet_Users and Categories both ha

4条回答
  •  星月不相逢
    2021-01-01 20:19

    Error: Unable to update the EntitySet because it has a DefiningQuery

    Twice I got this error, twice I searched for answers everywhere, and in the end my mappings was messed up or the database had no primary key or something. I suggest checking it all out...

提交回复
热议问题