Включить миграцию в ASP.NET MVC
Я пытался включить миграцию в проекте ASP.NET MVC для выполнения рабочего процесса с кодом в Entity Framework в Visual Studio 2019 в Windows 10. Я получаю эту ошибку в консоли диспетчера пакетов nuget (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
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (enable-migrations:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException