CoreStrings.AmbiguousEndRequiredDependent(Object, Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public static string AmbiguousEndRequiredDependent (object foreignKeyProperties, object entityType);
public static string AmbiguousEndRequiredDependent (object? foreignKeyProperties, object? entityType);
static member AmbiguousEndRequiredDependent : obj * obj -> string
Public Shared Function AmbiguousEndRequiredDependent (foreignKeyProperties As Object, entityType As Object) As String
- foreignKeyProperties
- Object
- entityType
- Object
Product | Versions |
---|---|
Entity Framework Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: