CoreStrings.NavigationCollectionWrongClrType 方法

定义

无法将集合导航“{navigation}”添加到实体类型“{entityType}”,因为它的 CLR 类型“{clrType}”不实现“IEnumerable<{targetType}>”。 集合导航必须实现相关实体的 IEnumerable<> 。

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

参数

navigation
Object
entityType
Object
clrType
Object
targetType
Object

返回

适用于