Created
February 8, 2022 21:41
-
-
Save shashank-shekhar/0d2a6724214cd1f80ad8de9d4c2af19f to your computer and use it in GitHub Desktop.
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
dotnet new classlib -f netcoreapp3.1 -o Project.Name | |
dotnet add package Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite -v 3.1.19 | |
dotnet add package Microsoft.EntityFrameworkCore.SqlServer -v 3.1.19 | |
dotnet add package Microsoft.EntityFrameworkCore.Design -v 3.1.19 | |
dotnet ef dbcontext scaffold "Server=.;Database=<DataBase>;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -o Models --schema dbo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment