我正在添加新的迁移,但此消息显示:
Unable to generate an explicit migration because the following explicit migrations are pending: [201203170856167_left]. Apply the pending explicit migrations before attempting to generate a new explicit migration.
谁能帮帮我吗?
最佳答案
它告诉您应用程序中有一些未处理的迁移,需要运行 Update-Database
才能添加另一个迁移。
关于entity-framework - 无法在 Entity Framework 中生成显式迁移,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9817860/