Is there a way to manually update a single edmx entity to reflect a new column in a SQL db table? If yes, what would be the proper step- by-step procedure?
I prefer not to use the "update model from db" template because this will update all the tables and wipe out all the customizations and name changes I have already made in the EF objects. This seems a bit overkill for a single column change. I went down this route once, and I prefer not to do it again. I do not see any way to actually update a single table from the DB using VS2010 "update from db", but please enlighten me if this is not correct.
What I have tried to do so far is manually add a new scalar property to the appropriate entity using the edmx designer, and this seems to work OK, but I cannot seem to find a way to map the new property back to the db through the mapping window. Do I have to do this directly through the XML file? Also is this sufficient to ensure the new column is correctly reflected in the edmx, or are there other steps that need to be done?
Sorry if this has been covered before, but I could not find an exact match to my issue.
Advise on the best way to proceed would be greatly
View Complete Post