CoreStrings.AmbiguousOwnedNavigation(Object, Object) Method
Definition
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.
Unable to determine the owner for the relationship between '{entityTypeNavigationSpecification}' and '{otherEntityType}' as both types have been marked as owned. Either manually configure the ownership, or ignore the corresponding navigations using the [NotMapped] attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'. See https://aka.ms/efcore-docs-owned for more information and examples.
public static string AmbiguousOwnedNavigation (object entityType, object otherEntityType);
public static string AmbiguousOwnedNavigation (object entityTypeNavigationSpecification, object otherEntityType);
public static string AmbiguousOwnedNavigation (object? entityTypeNavigationSpecification, object? otherEntityType);
static member AmbiguousOwnedNavigation : obj * obj -> string
static member AmbiguousOwnedNavigation : obj * obj -> string
Public Shared Function AmbiguousOwnedNavigation (entityType As Object, otherEntityType As Object) As String
Public Shared Function AmbiguousOwnedNavigation (entityTypeNavigationSpecification As Object, otherEntityType As Object) As String
Parameters
- entityTypeentityTypeNavigationSpecification
- Object
- otherEntityType
- Object
Returns
Applies to
Entity Framework