I created the Entity Framework 4 model with Visual Studio 2010 and created a database from it. Now I found that I am adding new properties (with default values), changing the documentation for columns, changing column names, changing column types several times. All tasks that do not require a lot of "extra work" so as not to be achieved automatically (in my humble opinion). Each time I did “Generate a database from a model” and, of course, lost the data in the table.
Is there a way to simply upgrade the database architecture to say - leaving the table data intact? Maybe with some user interaction, especially when changing types, etc.? Or is this feature just too complicated for reliable operation?
Thanks in advance! Cheers, David
visual-studio-2010 entity-framework
David
source share