CoreStrings.SkipInverseMismatchedForeignKey Method

Definition

The foreign key {foreignKeyProperties} cannot be set for the skip navigation '{navigation}' as it uses the join entity type '{joinType}' while the inverse skip navigation '{inverse}' is associated with a foreign key using the join entity type '{inverseJoinType}'. The inverse navigation must use the same join entity type.

C#
public static string SkipInverseMismatchedForeignKey (object foreignKeyProperties, object navigation, object joinType, object inverse, object inverseJoinType);
C#
public static string SkipInverseMismatchedForeignKey (object? foreignKeyProperties, object? navigation, object? joinType, object? inverse, object? inverseJoinType);

Parameters

foreignKeyProperties
Object
navigation
Object
joinType
Object
inverse
Object
inverseJoinType
Object

Returns

Applies to

Product Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0