CoreStrings.FkAttributeOnNonUniquePrincipal(Object, Object, Object) 方法

定义

不能在实体类型“{principalType}”上指定导航“{navigation}”的 [ForeignKey] 属性,因为它表示一对多关系。 将 [ForeignKey] 属性移动到“{dependentType}”上的属性。

public static string FkAttributeOnNonUniquePrincipal (object navigation, object principalType, object dependentType);
public static string FkAttributeOnNonUniquePrincipal (object? navigation, object? principalType, object? dependentType);
static member FkAttributeOnNonUniquePrincipal : obj * obj * obj -> string
Public Shared Function FkAttributeOnNonUniquePrincipal (navigation As Object, principalType As Object, dependentType As Object) As String

参数

navigation
Object
principalType
Object
dependentType
Object

返回

适用于