AutomaticMigrationsDisabledException Class
Entity Framework 5.0
Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled.
System.Object
System.Exception
System.Data.Entity.Migrations.Infrastructure.MigrationsException
System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException
System.Exception
System.Data.Entity.Migrations.Infrastructure.MigrationsException
System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException
Namespace: System.Data.Entity.Migrations.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The AutomaticMigrationsDisabledException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AutomaticMigrationsDisabledException | Initializes a new instance of the AutomaticMigrationsDisabledException class. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetBaseException | (Inherited from Exception.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | Security Critical. (Inherited from Exception.) |
![]() | GetType | (Inherited from Exception.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Exception.) |
Show:

