Lenguaje

CoreStrings.AmbiguousOwnedNavigation(Object, Object) Método

Definición

No se puede determinar el propietario de la relación entre '{entityTypeNavigationSpecification}' y '{otherEntityType}' ya que ambos tipos se han marcado como propiedad. Configure manualmente la propiedad o omita las navegaciones correspondientes mediante el atributo [NotMapped] o mediante "EntityTypeBuilder.Ignore" en "OnModelCreating". Consulte https://aka.ms/efcore-docs-owned para obtener más información y ejemplos.

public static string AmbiguousOwnedNavigation(object? entityTypeNavigationSpecification, object? otherEntityType);
public static string AmbiguousOwnedNavigation(object entityType, 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 (entityTypeNavigationSpecification As Object, otherEntityType As Object) As String
Public Shared Function AmbiguousOwnedNavigation (entityType As Object, otherEntityType As Object) As String

Parámetros

entityTypeNavigationSpecificationentityType
Object
otherEntityType
Object

Devoluciones

Se aplica a