- 博客(1)
- 收藏
- 关注
原创 The model backing the ‘XXX‘ context has changed since the database was created.
场景:没有通过自动映射类与字段,手写的model类,再运行之后就会出现这个提示。The model backing the ‘XXX’ context has changed since the database was created. Consider using Code First Migrations to update the database.出现这个错误,百度了很多没有找到确切毛病。整理了一下,主要是两个原因,第一次运行的时候出现这个提示,是model实体与数据库中的表名或者字段名不一
2020-11-03 16:44:03
782
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人