Reputation: 103
I am using the edmx
editor to create my database visually, but whenever I change the structure, and choose the option "Generate database from model", all my current data in the database is wiped.
Is it at all possible to change the structure of a database, and also retain the data?
How do people work around this problem?
Thank you
Upvotes: 0
Views: 30
Reputation: 4561
Here are some solutions:
If using the Code First workflow is a possibility for you, I would recommend going that route.
Hope that helps.
Upvotes: 2