I currently starting a project that it can growth a lot. To create a good application that I can easily maintain, I'm trying to implement a complex architecture to separate Business/Logic/View...
So my model are in a different project ( .net core library ).
My problem is, that I did not found how to create a Seed to add some data in my database tables without using Startup.cs...
Somebody already implement seed method when database is update ?
Seeding is done when you Update your database using migrations. So the questions you have to answer are.
When you work out how you intend to run migrations, that will be the same method you use to "seed".