Helpfulness rating is very low.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Comments from the feedback control about what's missing:
[ ] Missing context for the code examples -- what class is OnModelCreating in, where does modelBuilder instance come from.
[ ] Plus several requests for more examples.
For custom initialization logic it would be really nice to have an example of:
It would also be nice to have an example of changing seed data and how to handle that with custom initialization. Even though changing seed data seems fairly straightforward if your only unique identifier is the auto generated key, how do you change seed data in the database if the keys differ on each environment?
Maybe even have a few EF core seeding examples that use Bogus: https://github.com/bchavez/Bogus
:sunglasses:
Closing in favor of #736
Most helpful comment
Comments from the feedback control about what's missing:
[ ] Missing context for the code examples -- what class is OnModelCreating in, where does modelBuilder instance come from.
[ ] Plus several requests for more examples.