Dec 18, 2012 12:14 AM|klca|LINK
Hi Mr. Dong,
I use a CASE tool for managing my designs so I got the script directly from there and then I run the SQL script in my SQL Server databaase.
At that very moment, my database is created from scratch everytime I make a change so I need to go to my VS2012 GUI in which I must update my model from database directly. So I select all entities in my .edmx model I SELECTE THEM ALL AND THEN I ERASE ALL
OF THEM FROM MY DRAWING. After that, I run the update option.
In order to avoid confusion, I also avoid Metadata additional files so no problem arise going that way becaus I simply don't even go there !
In a few words: I updated my CASE model, I generated a new sql script for regenerating my datab<ase. I ran that scrtipt in my SQL Server (the database was aupdated with the newly inserted column) and then I updated my VS2012 model directly from my database
Carlos N. Porras