Entity Framework Core - Data Seeding
For EF Core, there isn't one "correct" way to seed data; the best strategy depends entirely on what kind of data we are seeding (static lookups vs. transactional test data).
Below is a breakdown of the three primary strategies, when to use them, and ...