AutomaticDataLossException Class
Represents an error that occurs when an automatic migration would result in data loss.
Assembly: EntityFramework (in EntityFramework.dll)
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
Name | Description | |
---|---|---|
![]() | AutomaticDataLossException() | Initializes a new instance of the AutomaticDataLossException class. |
![]() | AutomaticDataLossException(String) | Initializes a new instance of the AutomaticDataLossException class. |
![]() | AutomaticDataLossException(String, Exception) | Initializes a new instance of the MigrationsException class. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | ToString() | (Inherited from Exception.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.