EF 4.1 (코드 우선)으로 개발 된 DB 하나를 수정하고 싶습니다. 나는 EF 4.3으로 프로젝트를 업그레이드하고이 단계를 수행 : http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-automatic-migrations-walkthrough.aspxEF (Entity Framework) 4.3 마이그레이션 도구가 EF 4.1 DB에서 작동하지 않습니다.
모든 것이 잘되어 가고,하지만 현재의 DB (EF 4.1 코드 순으로)에 테스트 할 때, 업데이트-데이터베이스이 오류 인상 :
을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).
EF 4.1 (코드 우선) DB를 어떻게 마이그레이션 할 수 있는지 궁금합니다. 또한 DB가 라이브이고 데이터가있어 테이블을 삭제할 수 없습니다.
읽기 오류 메시지가. 지시에 따르세요. – jrummell
하지만 재귀적인 오류 메시지입니다. –