Created
August 13, 2022 14:16
-
-
Save cppshane/a08135ada9ec24e23e741b6cbc9d3c0d to your computer and use it in GitHub Desktop.
EF Core Scaffold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You'll need to install dotnet-ef cli if you haven't already | |
dotnet tool install --global dotnet-ef | |
# Begin scaffolding database | |
dotnet ef dbcontext scaffold "server=127.0.0.1;uid=root;pwd=password;database=classicmodels" Pomelo.EntityFrameworkCore.MySql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment