CoreStrings.NavigationCollectionWrongClrType Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour