entity framework apply database code example Example 1: entity framework migration Update-Database Example 2: add migration ef core dotnet ef database update