CoreStrings.AmbiguousEndRequiredDependent(Object, Object) Method

Definition

The foreign key {foreignKeyProperties} on entity type '{entityType}' cannot be configured as having a required dependent since the dependent side cannot be determined. To identify the dependent side of the relationship, configure the foreign key property in 'OnModelCreating'. See https://go.microsoft.com/fwlink/?LinkId=724062 for more details.

C#
public static string AmbiguousEndRequiredDependent (object foreignKeyProperties, object entityType);
C#
public static string AmbiguousEndRequiredDependent (object? foreignKeyProperties, object? entityType);

Parameters

foreignKeyProperties
Object
entityType
Object

Returns

Applies to

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