AutomaticDataLossException Constructor
Initializes a new instance of the AutomaticDataLossException class.
Assembly: EntityFramework (in EntityFramework.dll)
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. |
AutomaticDataLossException Constructor ()
Initializes a new instance of the AutomaticDataLossException class.
AutomaticDataLossException Constructor (String)
Initializes a new instance of the AutomaticDataLossException class.
Parameters
- message
-
Type:
System.String
The message that describes the error.
AutomaticDataLossException Constructor (String, Exception)
Initializes a new instance of the MigrationsException class.
Parameters
- message
-
Type:
System.String
The message that describes the error.
- innerException
-
Type:
System.Exception
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.