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

'Declaration
Public Property AutomaticMigrationsEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As DbMigrationsConfiguration 
Dim value As Boolean 

value = instance.AutomaticMigrationsEnabled

instance.AutomaticMigrationsEnabled = value
public bool AutomaticMigrationsEnabled { get; set; }
public:
property bool AutomaticMigrationsEnabled {
    bool get ();
    void set (bool value);
}
member AutomaticMigrationsEnabled : bool with get, set
function get AutomaticMigrationsEnabled () : boolean 
function set AutomaticMigrationsEnabled (value : boolean)

Property Value

Type: System.Boolean

See Also

Reference

DbMigrationsConfiguration Class

System.Data.Entity.Migrations Namespace