The model backing the ‘ApplicationDbContext’ context has changed since the database was created

摘要:The model backing the 'ApplicationDbContext' context has changed since the database was created


使用 Enity framework 遇到的错误 ,原来是 Global.asax 没加到某个区段

Database.SetInitializer(null);

参考