CoreStrings.AmbiguousEndRequiredDependent(Object, Object) 方法

定义

无法将实体类型“{entityType}”上的外键 {foreignKeyProperties} 配置为具有所需的依赖项,因为无法确定依赖方。 若要标识关系的依赖端,请在“OnModelCreating”中配置外键属性。 有关详细信息,请参阅 https://go.microsoft.com/fwlink/?LinkId=724062

public static string AmbiguousEndRequiredDependent (object foreignKeyProperties, object entityType);
public static string AmbiguousEndRequiredDependent (object? foreignKeyProperties, object? entityType);
static member AmbiguousEndRequiredDependent : obj * obj -> string
Public Shared Function AmbiguousEndRequiredDependent (foreignKeyProperties As Object, entityType As Object) As String

参数

foreignKeyProperties
Object
entityType
Object

返回

适用于