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