samedi 7 juin 2014

EF 5 - Code first migrations optimization


Vote count:

0




I use Entity framework 5 code first with enabled migrations. I made many changes to my model classes and now I have too much migrations classes because after every change I updated the database. Now I want to merge all my updates to get one "initial class" or 2 so that I could run the update-database command only once if I have to create my database again. Is that possible with no code (too heavy), I mean with a command by for instance ? Thanks.



asked 16 secs ago






Aucun commentaire:

Enregistrer un commentaire