What is the best way to execute all required db migrations at application start with EF 4.3?
The best way should be using new MigrateDatabaseToLatestVersion
initializer.
Database.SetInitializer<YourContext>(
new MigrateDatabaseToLatestVersion<YourContext, YourMigrationsConfig>());
Database.Initialize(false);