In EF projects, Is there any best practice for setting AutomaticMigrationsEnabled ?
More declaration:
In our team after modifying a model we usually run "add-migration" and "update-databse" commands in Package Manager Console. This error raises when other developers run the project:
"Can not drop database because it is in use"
Every time this happen the first modifier should Check In
whole project and others have to GET
modified objects. In many cases we don't want to check in the already created model and migration!
This situation is annoying,are there any solution for this kind of problems.
thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…