ASP.NET Entity Framework Code First Migration Process Between Environments

I work in a team of four developers and we sometimes run into issues with EF Code First Migrations between different branches and release to build from dev. We are using git.

What is the best process to follow between:

  • Devs works with different branches / features and eventually merges the changes without losing any migrations created in those branches / features.
  • Release for staging / accommodation.
+3


source to share


1 answer


  • Read this MSDN article that addresses issues related to EF Code First Migrations in team environments.

  • There are many branching strategies, you can research them and use the one that best suits your needs. Have a look at git-flow , which is one of the branching models for Git.



+2


source







All Articles