Bug #64356 | *.edmx Generate Database from Model creates incorrect mappings | ||
---|---|---|---|
Submitted: | 16 Feb 2012 17:31 | Modified: | 2 Jul 2012 22:12 |
Reporter: | Simon Mansfield | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | OS: | Windows | |
Assigned to: | Roberto Ezequiel Garcia Ballesteros | CPU Architecture: | Any |
Tags: | edmx, entity framework, MAPPING |
[16 Feb 2012 17:31]
Simon Mansfield
[2 Jul 2012 22:12]
Roberto Ezequiel Garcia Ballesteros
Hi! Each time a type change is done on an entity property the member mapping needs to be updated. To do this after doing the type change it's required to run “Generate Database from Model…” and click “Finish”. If the script file already exists some overwrite warnings will appear, you need to overwrite the script file, the store schema (SSDL), and the mappings (MSL). Now compile and you will see it updated the model without errors.