Aracılığıyla paylaş


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 aranacak varlık türü.

Döndürülenler

true sahiplik yolundaysa targetTypeentityType, değilse false.

Şunlara uygulanır