CoreStrings.NonUniqueRequiredDependentForeignKey(Object, Object) Method

Definition

The foreign key {foreignKeyProperties} on the entity type '{declaringEntityType}' cannot have a required dependent end since it is not unique.

C#
public static string NonUniqueRequiredDependentForeignKey (object foreignKeyProperties, object declaringEntityType);
C#
public static string NonUniqueRequiredDependentForeignKey (object? foreignKeyProperties, object? declaringEntityType);

Parameters

foreignKeyProperties
Object
declaringEntityType
Object

Returns

Applies to

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