ef core update database in library code example Example 1: ef core db update dotnet ef database update Example 2: ef core update database command update database