IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) Méthode

Définition

Obtient une valeur indiquant si le type d’entité donné se trouve dans le chemin d’accès de propriété pour ce type d’entité.

public virtual bool IsInOwnershipPath (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType targetType);
abstract member IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
override this.IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
Public Overridable Function IsInOwnershipPath (targetType As IReadOnlyEntityType) As Boolean

Paramètres

targetType
IReadOnlyEntityType

Type d’entité à rechercher dans le chemin de propriété.

Retours

true si targetType est dans le chemin de propriété de ce type d’entité , sinon false.

S’applique à