Quiero modificar un DB que se desarrolló con EF 4.1 (Código Primero). He actualizado el proyecto en EF 4.3 y seguir los siguientes pasos: http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-automatic-migrations-walkthrough.aspxEF (Entity Framework) 4.3 La herramienta de migración no funciona en EF 4.1 DB
Todo va bien, pero cuando quiero poner a prueba la corriente DB (EF 4.1 Código primero), Actualización de Base de datos de planteo este error:
Cannot scaffold the next migration because the target database was created with a version of Code First earlier than EF 4.3 and does not contain the migrations history table. To start using migrations against this database, ensure the current model is compatible with the target database and execute the migrations Update process. (In Visual Studio you can use the Update-Database command from Package Manager Console to execute the migrations Update process).
Me preguntaba cómo puedo migrar un DB de EF 4.1 (Code First)? Además, DB está en vivo y tiene datos y no puedo eliminar tablas.
Leer el mensaje de error. Seguir direcciones. – jrummell
Pero es un mensaje de error recursivo. –