共用方式為


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

定義

巡覽 '{navigation}' 的 [ForeignKey] 屬性無法在實體類型 '{principalType}' 上指定,因為它代表一對多關聯性。 將 [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

傳回

適用於