AutomaticDataLossException Class
Entity Framework 5.0
Represents an error that occurs when an automatic migration would result in data loss.
System.Object
System.Exception
System.Data.Entity.Migrations.Infrastructure.MigrationsException
System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException
System.Exception
System.Data.Entity.Migrations.Infrastructure.MigrationsException
System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException
Namespace: System.Data.Entity.Migrations.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The AutomaticDataLossException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AutomaticDataLossException | Initializes a new instance of the AutomaticDataLossException 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:

