CoreStrings.AmbiguousOneToOneRelationship(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 dependent side could not be determined for the one-to-one relationship between '{dependentToPrincipalNavigationSpecification}' and '{principalToDependentNavigationSpecification}'. To identify the dependent side of the relationship, configure the foreign key property. If these navigations should not be part of the same relationship, configure them independently via separate method chains in 'OnModelCreating'. See https://go.microsoft.com/fwlink/?LinkId=724062 for more details.
public static string AmbiguousOneToOneRelationship (object dependentToPrincipalNavigationSpecification, object principalToDependentNavigationSpecification);
public static string AmbiguousOneToOneRelationship (object? dependentToPrincipalNavigationSpecification, object? principalToDependentNavigationSpecification);
static member AmbiguousOneToOneRelationship : obj * obj -> string
Public Shared Function AmbiguousOneToOneRelationship (dependentToPrincipalNavigationSpecification As Object, principalToDependentNavigationSpecification As Object) As String
- dependentToPrincipalNavigationSpecification
- Object
- principalToDependentNavigationSpecification
- Object
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 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: