How can I "Update-Migration" vscode?

Asked

Viewed 271 times

0

I want to use Entity Framework Core Migration but use the visual studio code. I’m trying to find a nuget extension in vscode that you can change on the command line (like a cmd), but I can’t find it... I need to perform some commands in the "package manager console"...

1 answer

2


I believe you can do this using the command on the terminal:

dotnet ef migrations add NomeDaMigration

and to update:

dotnet ef database update
  • I didn’t know, when I get to my computer, I’ll test.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.