Using Entity Framework (code first) migrations in production

Posted by devdigital on Stack Overflow See other posts from Stack Overflow or by devdigital
Published on 2012-06-01T10:37:41Z Indexed on 2012/06/01 10:40 UTC
Read the original article Hit count: 321

I'm just looking into using EF migrations for our project, and in particular for performing schema changes in production between releases. I can see that generating SQL (delta) script files is an option, but is there no way of running the migrations programmatically on app start up?

Will I instead need to add each delta script to the solution and write my own framework to apply them in order (from the current version to the latest) on bootstrap?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about entity-framework