Condividi tramite


CoreStrings.NonComparableKeyTypes(Object, Object, Object, Object) Metodo

Definizione

Proprietà '{entityType}. {property}' non può essere usato come chiave perché ha il tipo '{modelType}' e il tipo di provider '{providerType}', nessuno dei quali implementa 'IComparable<T>', 'IComparable' o 'IStructuralComparable'. Rendere '{modelType}' implementare una di queste interfacce per usarla come chiave.

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

Parametri

entityType
Object
property
Object
modelType
Object
providerType
Object

Restituisce

Si applica a