This question is locked. New answers and comments are not allowed.
Being a sucker for punishment, I've decided to have another go with OA.
I've got a new project and have opted to add a domain model from an existing DB in which I have added a single table.
Went through all the steps and got my EntityDiagram.
All OK so far.
Now, my table has a column named 'postaladdress' which OA mapped to a property called 'Postaladdress'.
I went to the DB and changed the name of the column to 'postalAddress' (note the change of capitalization).
I went to the model in VS and, in the Model Explorer, I right-clicked the top-level of the tree and opted to 'Update From Database'. In the resulting dialog, I clicked on 'Apply All' then on 'Finish'.
The model updates, but instead of simply renaming my 'PostalAddress' property to 'PostalAddress', the model ADDS a new property called 'PostalAddress'. The old 'Postaladdress' property is still in the model!
Surely, that can't be right!
There is, I've discovered, a workaround and that is, in the Schema Explorer, remove and then remap the persistent class.
--
Stuart
I've got a new project and have opted to add a domain model from an existing DB in which I have added a single table.
Went through all the steps and got my EntityDiagram.
All OK so far.
Now, my table has a column named 'postaladdress' which OA mapped to a property called 'Postaladdress'.
I went to the DB and changed the name of the column to 'postalAddress' (note the change of capitalization).
I went to the model in VS and, in the Model Explorer, I right-clicked the top-level of the tree and opted to 'Update From Database'. In the resulting dialog, I clicked on 'Apply All' then on 'Finish'.
The model updates, but instead of simply renaming my 'PostalAddress' property to 'PostalAddress', the model ADDS a new property called 'PostalAddress'. The old 'Postaladdress' property is still in the model!
Surely, that can't be right!
There is, I've discovered, a workaround and that is, in the Schema Explorer, remove and then remap the persistent class.
--
Stuart