InversePropertyAttributeConvention.IsAmbiguous Metodo

Definizione

Restituisce un valore che indica se la struttura di spostamento specificata ha spostamenti inversa ambigui con 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

Parametri

entityType
IConventionEntityType

Tipo di entità.

navigation
MemberInfo

Struttura di spostamento.

targetEntityType
IConventionEntityType

Tipo di entità di destinazione.

Restituisce

true se lo spostamento specificato ha spostamenti ambigui inversa con InversePropertyAttribute.

Si applica a