Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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)
'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)
Type: System.Boolean
Please sign in to use this experience.
Sign in