Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
Database
PART 27
What's New in EF Core 9: UseSeeding, Migration Locking and PendingModelChangesWarning
PendingModelChangesWarning catching a missing migration at Migrate time, the HasData and DateTime.Now trap, UseSeeding/UseAsyncSeeding, migration locking with __EFMigrationsLock, auto-discovered compiled models and EFOptimizeContext, and ExecuteUpdate with complex types in EF Core 9.
5 Nov 2026
9 min
2
Database
PART 08
Seeding in EF Core: Model Seeding with HasData and Application-Side Seeding
Two ways to add initial data in EF Core: model seeding with HasData and the InsertData/UpdateData/DeleteData it generates, the key and navigation rules, the dynamic value trap; then a rerunnable application-side seeder and a pointer to EF Core 9's UseSeeding.
5 Nov 2026
12 min
2