Update Database after Model Changes - Entity Framework 7
问题 I have created an app using the lastest ASP.NET5 MVC 6 Entity Framework 7 and setup migrations using dnx . ef migration add Initial dnx . ef migration apply This works but when I make a change to the model the database is not updated. I would like to have the database automatically update after a model change when I run the program. My research only points me to old information that doesn't seem to be appropriate to Entity Framework 7. My current code: public ApplicationDbContext(): base() {