I have a project that I developed with Asp.Net MVC5. I created the database of the project with the CodeFirst approach. When I finished I uploaded my project to github.
However, after downloading the project from github and saying "enable -migrations" and "update-database", the data in my tables is not coming.
If my internship teacher wants to test this project on his computer, he will create the database, but he will have problems because there is no data in the tables. How can I solve this problem?
You could use code first migrations to seed the database. See link for more information on it. Documentation This should make your database start with data.