EntityFrameworkMessage on how to run "Update-Database" and "Add-Migration" from Visual Studio Code (VSCode)

I try EntityFrameworkCore in Visual Studio code, and I want to run the Update-Database and Add-Migration commands, but there is no package manager console in VSCode. What to do?

+5
source share
1 answer

Visual Studio Code does not support running package manager console commands. This integration is only available in Visual Studio. Instead, you have to use the command line interface (CLI):

http://www.learnentityframeworkcore.com/migrations/commands/cli-commands

+3
source

Source: https://habr.com/ru/post/1259316/


All Articles