Język

CoreStrings.AmbiguousOwnedNavigation(Object, Object) Metoda

Definicja

Nie można określić właściciela relacji między elementami "{entityTypeNavigationSpecification}" i "{otherEntityType}", ponieważ oba typy zostały oznaczone jako należące. Ręcznie skonfiguruj własność lub zignoruj odpowiednie nawigacje przy użyciu atrybutu [NotMapped] lub za pomocą polecenia "EntityTypeBuilder.Ignore" w obszarze "OnModelCreating". Zobacz https://aka.ms/efcore-docs-owned , aby uzyskać więcej informacji i przykładów.

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

Parametry

entityTypeNavigationSpecificationentityType
Object
otherEntityType
Object

Zwraca

Dotyczy