Condividi tramite


IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) Metodo

Definizione

Ottiene un valore che indica se il tipo di entità specificato è nel percorso di proprietà per questo tipo di 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

Parametri

targetType
IReadOnlyEntityType

Tipo di entità da cercare nel percorso di proprietà.

Restituisce

true se targetType è nel percorso di proprietà di questo tipo di entità; in caso contrario false, .

Si applica a