Condividi tramite


CoreStrings.AmbiguousOwnedNavigation(Object, Object) Metodo

Definizione

Impossibile determinare il proprietario della relazione tra '{entityTypeNavigationSpecification}' e '{otherEntityType}', poiché entrambi i tipi sono stati contrassegnati come proprietà. Configurare manualmente la proprietà o ignorare gli spostamenti corrispondenti usando l'attributo [NotMapped] o usando 'EntityTypeBuilder.Ignore' in 'OnModelCreating'. Per altre informazioni ed esempi, vedere https://aka.ms/efcore-docs-owned.

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

Parametri

entityTypeentityTypeNavigationSpecification
Object
otherEntityType
Object

Restituisce

Si applica a