Commit 48cd087
committed
Suppress PendingModelChangesWarning in DbContext after EF Core 9 upgrade
EF Core 9 throws PendingModelChangesWarning during Migrate() when the
snapshot fingerprint format changed from EF Core 8. EF tooling confirms
no actual model changes are pending. Suppress the warning per the EF Core
docs recommendation to prevent startup crashes.1 parent 526f183 commit 48cd087
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments