Язык

CoreStrings.AmbiguousOwnedNavigation(Object, Object) Метод

Определение

Не удалось определить владельца связи между "{entityTypeNavigationSpecification}" и "{otherEntityType}" как оба типа помечены как принадлежащие. Настройте владение вручную или игнорируйте соответствующие навигации с помощью атрибута [NotMapped] или с помощью EntityTypeBuilder.Ignore в OnModelCreating. Дополнительные сведения и примеры см. в разделе https://aka.ms/efcore-docs-owned.

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

Параметры

entityTypeNavigationSpecificationentityType
Object
otherEntityType
Object

Возвращаемое значение

Применяется к