CompatibilityResult Implicit Conversion (CompatibilityResult to Boolean)

 

Implicit conversion to a bool to allow the result object to be used directly in checks.

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

public static implicit operator bool (
	CompatibilityResult result
)

Parameters

result
Type: System.Data.Entity.Infrastructure.Annotations.CompatibilityResult

The object to convert.

Return Value

Type: System.Boolean

True if the result is compatible; false otherwise.