CompatibilityResult Class
Returned by IsCompatibleWith and related methods to indicate whether or not one object does not conflict with another such that the two can be combined into one.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | CompatibilityResult(Boolean, String) | Creates a new CompatibilityResult instance. |
Name | Description | |
---|---|---|
![]() | ErrorMessage | If IsCompatible is true, then returns an error message indicating how the two tested objects are incompatible. |
![]() | IsCompatible | True if the two tested objects are compatible; otherwise false. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | Implicit(CompatibilityResult to Boolean) | Implicit conversion to a bool to allow the result object to be used directly in checks. |
If the two objects are not compatible then information about why they are not compatible is contained in the ErrorMessage property.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.