I am doing some research on EF5 and came across this question.
The applications made in the answer make sense to me.
But now, in EF5, we have Migrations. Therefore, let's say that I created an application with First code, and now it has been working and has been working for some time, and the user's confidential data is accumulated in the database. Consider the case when the model needs some changes.
Is it possible to simply update POCOS and let Migrations take care of updating the database, or are there any preparatory measures to prevent data loss?
(I would like to have someone here who had a working setup of Code First and Migrations in a real application)
source share