First Add-Migration command generates empty up down methods in EF 4.3 beta 1 unlike in the walkthrough ( still same in 4.3.0 final) RRS feed

  • Question

  • I am following steps in http://blogs.msdn.com/b/adonet/archive/2012/01/12/ef-4-3-beta-1-code-based-migrations-walkthrough.aspx in my solution.

    I have 7 classes in my code first context. I am getting "Migration0" class with empty up down methods after i execute "Add-Migration Migration0 -StartUpProjectName MyStartUpProject" command, but apparently that shouldn't be the case according to the walkthrough.

    And also nothing happens if i execute the command : Update-Database -Script -SourceMigration:"0" -TargetMigration:"Migration0"

    Am i missing something?


    • Edited by serguzest2 Tuesday, February 28, 2012 3:08 AM
    Saturday, January 28, 2012 1:18 AM

All replies

  • I've run across this too... any ideas?

    Saturday, February 25, 2012 3:09 PM