I\'ve read about Code First Migrations but it seems that this is not really suited to the Enterprise.
We have a DBA that does all our Database changes and we don\'t nee
A bit late in replying, but here goes:
If you use the EF Power Tools extension for Visual Studio, it gives you the ability to do what Rowan Miller calls "Code Second". Take a look at this article.
It lets you point to an existing database and it will generate nice POCO classes and use DbContext
just like if you had done it via Code First. No more ObjectContext
or edmx
files. The fluent configuration is also fully generated for you.
Moving forward, the EF team will be rolling this feature into the main EF tooling so you don't have to download the EF Power Tools extension.