EF Code First Migrations, Update-Database outside of Visual Studio

In a recent blog post comment, someone asked "can you please tell them [EF Dev Team] some developers would like to use the Power Shell command script and not PM console to update database."

If you look inside the package folder for Entity Framework 4.3 (or 4.3.1 or whatever is the current version in the future) there's a tools directory and inside of there a migrate.exe command. It is the same as the update-database command with all of the same parameters.

migratecommandline

 •  0 comments  •  flag
Share on Twitter
Published on March 12, 2012 07:24
No comments have been added yet.


Julia Lerman's Blog

Julia Lerman
Julia Lerman isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Julia Lerman's blog with rss.