Sdílet prostřednictvím


IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) Metoda

Definice

Získá hodnotu označující, zda je daný typ entity v cestě vlastnictví pro tento typ entity.

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

Parametry

targetType
IReadOnlyEntityType

Typ entity, který chcete vyhledat v cestě vlastnictví.

Návraty

true pokud targetType je v cestě vlastnictví tohoto typu entity, jinak false.

Platí pro