Udostępnij za pośrednictwem


CoreStrings.NavigationCollectionWrongClrType Metoda

Definicja

Nie można dodać nawigacji kolekcji "{navigation}" do typu jednostki "{entityType}", ponieważ jego typ CLR "{clrType}" nie implementuje elementu "IEnumerable<{targetType}>". Nawigacje kolekcji muszą implementować liczbę IEnumerable<> powiązanej jednostki.

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

Parametry

navigation
Object
entityType
Object
clrType
Object
targetType
Object

Zwraca

Dotyczy