Idioma

CoreStrings.AmbiguousOwnedNavigation(Object, Object) Método

Definição

Não é possível determinar o proprietário da relação entre '{entityTypeNavigationSpecification}' e '{otherEntityType}' como ambos os tipos foram marcados como propriedade. Configure manualmente a propriedade ou ignore as navegaçãos correspondentes usando o atributo [NotMapped] ou usando 'EntityTypeBuilder.Ignore' em 'OnModelCreating'. Consulte https://aka.ms/efcore-docs-owned para obter mais informações e exemplos.

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

Retornos

Aplica-se a