Created
February 4, 2020 12:26
-
-
Save gpsarkar/8e352d8de596d2f1e5a34344185602cc to your computer and use it in GitHub Desktop.
Entity framework core migration command
This file contains hidden or 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
Install nuget package "Microsoft.EntityFrameworkCore.Tools" in infrastructure project. | |
Run this in nuget console. | |
add-migration Initial -Context "XYZDbContext" -StartupProject ABC.XYZ.Web -Project ABC.XYZ.Infrastructure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment