views:

93

answers:

1

I'd like to upgrade an existing EDMX model without having to regenerate it by hand. The database is old, contains virtually no foreign keys and has many tables that had to be merged into single entities. I would like to use the EDMX 2.0 that comes with Visual Studio 2010, but I do not want to recreate the model by hand as that would put us way behind schedule.

Any suggestions?

+1  A: 

Open your old project in VS 2010. Then just change Target Framework from 3.5 to 4.0 in your project settings. In this case the .edmx file will be updated automatically.

Devart