asp.net core ef migration command code example
Example 1: C# aspnet how to run a migration
dotnet ef database update
Example 2: enable migration in .net core
dotnet ef migrations add InitialCreate
Example 3: enable migration in .net core
dotnet ef database update