EntityFrameworkCore how to run "Update-Database" & "Add-Migration" from Visual Studio Code (VSCode)
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