Share via


CoreStrings.FkAttributeOnPropertyNavigationMismatch Method

Definition

The [ForeignKey] attributes on property '{property}' and navigation '{navigation}' in entity type '{entityType}' do not point at each other. Make sure the value of the [ForeignKey] attribute on the property matches the navigation name, and the value of the [ForeignKey] attribute on the navigation matches the foreign key property name or remove one of them.

public static string FkAttributeOnPropertyNavigationMismatch (object property, object navigation, object entityType);
public static string FkAttributeOnPropertyNavigationMismatch (object? property, object? navigation, object? entityType);
static member FkAttributeOnPropertyNavigationMismatch : obj * obj * obj -> string
Public Shared Function FkAttributeOnPropertyNavigationMismatch (property As Object, navigation As Object, entityType As Object) As String

Parameters

property
Object
navigation
Object
entityType
Object

Returns

Applies to