Share via


AutomaticMigrationsDisabledException Class

Definition

Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled.

[System.Serializable]
public sealed class AutomaticMigrationsDisabledException : System.Data.Entity.Migrations.Infrastructure.MigrationsException
type AutomaticMigrationsDisabledException = class
    inherit MigrationsException
Public NotInheritable Class AutomaticMigrationsDisabledException
Inherits MigrationsException
Inheritance
AutomaticMigrationsDisabledException
Attributes

Constructors

AutomaticMigrationsDisabledException()

Initializes a new instance of the AutomaticMigrationsDisabledException class.

AutomaticMigrationsDisabledException(String, Exception)

Initializes a new instance of the MigrationsException class.

AutomaticMigrationsDisabledException(String)

Initializes a new instance of the AutomaticMigrationsDisabledException class.

Applies to