InversePropertyAttributeConvention.IsAmbiguous Метод

Определение

Возвращает значение, указывающее, имеет ли данная навигация неоднозначные обратные навигации с InversePropertyAttribute.

public static bool IsAmbiguous (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Reflection.MemberInfo navigation, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType targetEntityType);
static member IsAmbiguous : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> bool
Public Shared Function IsAmbiguous (entityType As IConventionEntityType, navigation As MemberInfo, targetEntityType As IConventionEntityType) As Boolean

Параметры

entityType
IConventionEntityType

Тип сущности.

navigation
MemberInfo

Навигация.

targetEntityType
IConventionEntityType

Тип целевой сущности.

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

true Значение , если данная навигация имеет неоднозначные обратные навигации с InversePropertyAttribute.

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