Tag Archives: EF Core 1.0

[ASP.NET Core 1.0] Automatic Migrations in Entity Framework 7 (EF Core 1.0)

Advertisement from Google There is no more public Configuration() { AutomaticMigrationsEnabled = false; } in Entity Framework Core 1.0 (formerly  EF 7.0) Now you can use extension Migrate method during database initialization. Advertisement from Google For example, you have custom DBInitializer class: public class DBInitialization { public static void Initialize() { using (var context =… Read More »