EntityTypeExtensions.IsInOwnershipPath(IEntityType, IEntityType) Yöntem

Tanım

Verilen varlık türünün bu varlık türü için sahiplik yolunda olup olmadığını belirten bir değer alır.

public static bool IsInOwnershipPath (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType targetType);
static member IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsInOwnershipPath (entityType As IEntityType, targetType As IEntityType) As Boolean

Parametreler

entityType
IEntityType

Varlık türü.

targetType
IEntityType

Sahiplik yolunda aranan varlık türü.

Döndürülenler

Boolean

true , targetType sahiplik yolunda ise entityType , değilse false .

Şunlara uygulanır