EntityFrameworkCore how to run "Update-Database" & "Add-Migration" from Visual Studio Code (VSCode)

entity-framework-core visual-studio-code

Question

I am trying EntityFrameworkCore in Visual Studio Code and I want to run "Update-Database" and "Add-Migration' commands, but there is no Package Manager Console in VSCode. what to do?

1
7
11/5/2016 6:45:41 AM

Accepted Answer

Visual Studio Code doesn't support the running of Package Manager Console commands. That integration is only available in the Visual Studio. You will have to use the Command Line Interface (CLI) instead:

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

5
2/16/2017 9:16:47 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow