AutomaticDataLossException Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an error that occurs when an automatic migration would result in data loss.
[System.Serializable]
public sealed class AutomaticDataLossException : System.Data.Entity.Migrations.Infrastructure.MigrationsExceptiontype AutomaticDataLossException = class
    inherit MigrationsExceptionPublic NotInheritable Class AutomaticDataLossException
Inherits MigrationsException- Inheritance
- Attributes
Constructors
| AutomaticDataLossException() | Initializes a new instance of the AutomaticDataLossException class. | 
| AutomaticDataLossException(String, Exception) | Initializes a new instance of the MigrationsException class. | 
| AutomaticDataLossException(String) | Initializes a new instance of the AutomaticDataLossException class. |