Updating database asp Nude whites for hookup

Now that we have successfully tested the API endpoints, let’s verify that the changes we made are actually persisted to the database.

This class (Initial People Creator) is created and called in Initial Host Db Builder class.

We don’t have to worry about creating and updating the database.

We can just make the changes in our code and then sync everything easily with the database.

In the EF Core Code-First approach, we have full control over the code and the database is just a store without any logic.

This approach is helpful in situations where we are starting with the development of a new project and we don’t have a clear picture of how our database should look like yet.

Leave a Reply