CoreStrings.ComparerPropertyMismatch(Object, Object, Object, Object) Method

Definition

The comparer for type '{type}' cannot be used for '{entityType}.{propertyName}' because its type is '{propertyType}'.

C#
public static string ComparerPropertyMismatch (object type, object entityType, object propertyName, object propertyType);
C#
public static string ComparerPropertyMismatch (object? type, object? entityType, object? propertyName, object? propertyType);

Parameters

type
Object
entityType
Object
propertyName
Object
propertyType
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0