Я установил эти пакеты: < /p>
Код: Выделить всё
Microsoft.EntityFrameworkCore v8.0.13
Microsoft.EntityFrameworkCore.Design v8.0.13
Microsoft.EntityFrameworkCore.SqlServer v8.0.13
Microsoft.EntityFrameworkCore.Tools v8.0.13
< /code>
При попытке рисовать с помощью ASP.NET Core THE CONDARD: (с помощью Power Shell) < /p>
Scaffold-DbContext "Data Source=.;Initial Catalog=Elevator;Integrated Security=True" Microsoft.EntityFrameworkCore.SqlServer -OutputDir DB
< /code>
Я получаю эту ошибку: < /p>
Scaffold-DbContext : The term 'Scaffold-DbContext' 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.
Подробнее здесь: https://stackoverflow.com/questions/797 ... -of-a-cmdl
Мобильная версия