CoreStrings.FkAttributeOnNonUniquePrincipal(Object, Object, Object) Method

Definition

The [ForeignKey] attribute for the navigation '{navigation}' cannot be specified on the entity type '{principalType}' since it represents a one-to-many relationship. Move the [ForeignKey] attribute to a property on '{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

Parameters

navigation
Object
principalType
Object
dependentType
Object

Returns

Applies to