Share via


DbMigrationsConfiguration.AutomaticMigrationsEnabled Property

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Gets or sets a value indicating if automatic migrations can be used when migrating the database.

Namespace:  System.Data.Entity.Migrations
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

public bool AutomaticMigrationsEnabled { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

DbMigrationsConfiguration Class

System.Data.Entity.Migrations Namespace