Condividi tramite


CoreStrings.NonComparableKeyType(Object, Object, Object) Metodo

Definizione

Proprietà '{entityType}. {property}' non può essere usato come chiave perché ha il tipo '{providerType}' che non implementa 'IComparable T>', 'IComparable' o 'IStructuralComparable<'. Usare 'HasConversion' in 'OnModelCreating' per eseguire il wrapping di '{providerType}' con un tipo che può essere confrontato.

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

Parametri

entityType
Object
property
Object
providerType
Object

Restituisce

Si applica a