Sdílet prostřednictvím


CoreStrings.FkAttributeOnNonUniquePrincipal(Object, Object, Object) Metoda

Definice

Atribut [ForeignKey] pro navigaci {navigation} nelze zadat u typu entity {principalType}, protože představuje relaci 1:N. Přesuňte atribut [ForeignKey] do vlastnosti pro {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

Parametry

navigation
Object
principalType
Object
dependentType
Object

Návraty

Platí pro