Share via


CoreStrings.ReferencedShadowKey(Object, Object, Object, Object) Method

Definition

The relationship from '{referencingEntityTypeOrNavigation}' to '{referencedEntityTypeOrNavigation}' with foreign key properties {foreignKeyPropertiesWithTypes} cannot target the primary key {primaryKeyPropertiesWithTypes} because it is not compatible. Configure a principal key or a set of foreign key properties with compatible types for this relationship.

public static string ReferencedShadowKey (object referencingEntityTypeOrNavigation, object referencedEntityTypeOrNavigation, object foreignKeyPropertiesWithTypes, object primaryKeyPropertiesWithTypes);
public static string ReferencedShadowKey (object? referencingEntityTypeOrNavigation, object? referencedEntityTypeOrNavigation, object? foreignKeyPropertiesWithTypes, object? primaryKeyPropertiesWithTypes);
static member ReferencedShadowKey : obj * obj * obj * obj -> string
Public Shared Function ReferencedShadowKey (referencingEntityTypeOrNavigation As Object, referencedEntityTypeOrNavigation As Object, foreignKeyPropertiesWithTypes As Object, primaryKeyPropertiesWithTypes As Object) As String

Parameters

referencingEntityTypeOrNavigation
Object
referencedEntityTypeOrNavigation
Object
foreignKeyPropertiesWithTypes
Object
primaryKeyPropertiesWithTypes
Object

Returns

Applies to