gpt4 book ai didi

entity-framework - 无法在 Entity Framework 中生成显式迁移

转载 作者:行者123 更新时间:2023-12-03 05:00:18 26 4
gpt4 key购买 nike

我正在添加新的迁移,但此消息显示:

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com