CoreStrings.NonComparableKeyTypes(Object, Object, Object, Object) Method

Definition

Property '{entityType}.{property}' cannot be used as a key because it has type '{modelType}' and provider type '{providerType}', neither of which implement 'IComparable<T>', 'IComparable' or 'IStructuralComparable'. Make '{modelType}' implement one of these interfaces to use it as a key.

public static string NonComparableKeyTypes (object entityType, object property, object modelType, object providerType);
public static string NonComparableKeyTypes (object? entityType, object? property, object? modelType, object? providerType);
static member NonComparableKeyTypes : obj * obj * obj * obj -> string
Public Shared Function NonComparableKeyTypes (entityType As Object, property As Object, modelType As Object, providerType As Object) As String

Parameters

entityType
Object
property
Object
modelType
Object
providerType
Object

Returns

Applies to