MigrationsException Class
Entity Framework 5.0
Represents errors that occur inside the Code First Migrations pipeline.
System.Object
System.Exception
System.Data.Entity.Migrations.Infrastructure.MigrationsException
System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException
System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException
System.Exception
System.Data.Entity.Migrations.Infrastructure.MigrationsException
System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException
System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException
Namespace: System.Data.Entity.Migrations.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The MigrationsException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MigrationsException | Initializes a new instance of the MigrationsException class. |
![]() | MigrationsException(String) | Initializes a new instance of the MigrationsException class. |
![]() | MigrationsException(SerializationInfo, StreamingContext) | Initializes a new instance of the MigrationsException class with serialized data. |
![]() | MigrationsException(String, Exception) | Initializes a new instance of the MigrationsException 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:

