CoreStrings.MissingInverseManyToManyNavigation(Object, Object) 方法

定义

无法设置实体类型“{principalEntityType}”和“{declaringEntityType}”之间的多对多关系,因为未指定其中一个导航。 在“OnModelCreating”中的“HasMany”调用中提供导航。 请考虑为此添加专用属性。

public static string MissingInverseManyToManyNavigation (object principalEntityType, object declaringEntityType);
public static string MissingInverseManyToManyNavigation (object? principalEntityType, object? declaringEntityType);
static member MissingInverseManyToManyNavigation : obj * obj -> string
Public Shared Function MissingInverseManyToManyNavigation (principalEntityType As Object, declaringEntityType As Object) As String

参数

principalEntityType
Object
declaringEntityType
Object

返回

适用于