我试图在我的新的mvc 4应用程序中第一次运行
PM>启用迁移 – 启用自动迁移
PM>启用迁移 – 启用自动迁移
我在玩
Enable-Migrations : The term 'Enable-Migrations' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the spelling of the name,or if a path was included,verify that the path is correct and try again. At line:1 char:1 + Enable-Migrations –EnableAutomaticMigrations
我失踪了什么我已经安装了e.f 5.
解决方法
尝试在包管理器控制台中键入:
Install-Package EntityFramework -IncludePrerelease
然后重新启动Visual Studio.