CompatibilityResult Constructor (Boolean, String)

 

Creates a new CompatibilityResult instance.

Namespace:   System.Data.Entity.Infrastructure.Annotations
Assembly:  EntityFramework (in EntityFramework.dll)

public CompatibilityResult(
	bool isCompatible,
	string errorMessage
)

Parameters

isCompatible
Type: System.Boolean

Indicates whether or not the two tested objects are compatible.

errorMessage
Type: System.String

An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true.