Freigeben über


CoreStrings.NavigationCollectionWrongClrType Methode

Definition

Die Sammlungsnavigation "{navigation}" kann dem Entitätstyp "{entityType}" nicht hinzugefügt werden, da der CLR-Typ "{clrType}" "IEnumerable<{targetType}>" nicht implementiert. Sammlungsnavigationen müssen IEnumerable<> der verknüpften Entität implementieren.

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

Parameter

navigation
Object
entityType
Object
clrType
Object
targetType
Object

Gibt zurück

Gilt für: