InversePropertyAttributeConvention.IsAmbiguous Method

Definition

Returns a value indication whether the given navigation has ambiguous inverse navigations with 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

Parameters

entityType
IConventionEntityType

The entity type.

navigation
MemberInfo

The navigation.

targetEntityType
IConventionEntityType

Target entity type.

Returns

true if the given navigation has ambiguous inverse navigations with InversePropertyAttribute.

Applies to