CoreStrings.AmbiguousOneToOneRelationship(Object, Object) 方法

定义

无法为“{dependentToPrincipalNavigationSpecification}”和“{principalToDependentNavigationSpecification}”之间的一对一关系确定依赖端。 若要标识关系的依赖端,请配置外键属性。 如果这些导航不应属于同一关系的一部分,请在“OnModelCreating”中通过单独的方法链独立配置它们。 有关详细信息,请参阅 https://go.microsoft.com/fwlink/?LinkId=724062

public static string AmbiguousOneToOneRelationship (object dependentToPrincipalNavigationSpecification, object principalToDependentNavigationSpecification);
public static string AmbiguousOneToOneRelationship (object? dependentToPrincipalNavigationSpecification, object? principalToDependentNavigationSpecification);
static member AmbiguousOneToOneRelationship : obj * obj -> string
Public Shared Function AmbiguousOneToOneRelationship (dependentToPrincipalNavigationSpecification As Object, principalToDependentNavigationSpecification As Object) As String

参数

dependentToPrincipalNavigationSpecification
Object
principalToDependentNavigationSpecification
Object

返回

适用于