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