Partager via


CoreStrings.NavigationCollectionWrongClrType Méthode

Définition

La navigation de collection « {navigation} » ne peut pas être ajoutée au type d’entité « {entityType} », car son type CLR « {clrType} » n’implémente pas « IEnumerable< {targetType}> ». Les navigations de collection doivent implémenter IEnumerable<> de l’entité associée.

public static string NavigationCollectionWrongClrType (object navigation, object entityType, object clrType, object targetType);
public static string NavigationCollectionWrongClrType (object? navigation, object? entityType, object? clrType, object? targetType);
static member NavigationCollectionWrongClrType : obj * obj * obj * obj -> string
Public Shared Function NavigationCollectionWrongClrType (navigation As Object, entityType As Object, clrType As Object, targetType As Object) As String

Paramètres

navigation
Object
entityType
Object
clrType
Object
targetType
Object

Retours

S’applique à