why does visual studio delete my classes when I update entity framework model

后端 未结 3 1525
[愿得一人]
[愿得一人] 2021-02-15 23:45

I\'m having a strange problem when I update my EF model (ver 5). It deletes all of the classes that belong to that model.

My situation was like this. I changed the key

3条回答
  •  自闭症患者
    2021-02-15 23:49

    It's been a long while, but in the end it turned out I had some errors in my edmx file which I hadn't seen, and that was causing the poco class files to not be generated.

提交回复
热议问题