39 votesMike Flasko shared this idea ·
28 votes3 comments · [Closed] Entity Framework Core Feature Suggestions · Flag idea as inappropriate… · Admin →Mike Flasko commented
As per http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/e05f6c62-2dbd-4c3f-87f9-c30c184597c5, Update Model from Database updates only the data type lengths and nullability, however, it wont always refresh the CSDL section.
Due to this behavior, every time I update my database schema, I need to delete the .edmx file from my project and re-generate the ADO.NET entity model again from the database. BTW, this also requires a kludge to remove the previous ConnectionString from app.config, or else the names of the generated entities are not the same.
I would like Update to work as if I had started from scratch, and not some optimized way I don't even understand. At least add an "Update Model from Database As If It Were From A New Database" option....