Partager via


CoreStrings.NonComparableKeyTypes(Object, Object, Object, Object) Méthode

Définition

Propriété « {entityType}. {property} » ne peut pas être utilisé comme clé, car elle a le type « {modelType} » et le type de fournisseur « {providerType} », qui n’implémentent pas « IComparable<T> », « IComparable » ou « IStructuralComparable ». Faites en sorte que « {modelType} » implémente l’une de ces interfaces pour l’utiliser comme clé.

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

Paramètres

entityType
Object
property
Object
modelType
Object
providerType
Object

Retours

S’applique à