EntityTypeExtensions.IsStrictlyDerivedFrom(IEntityType, IEntityType) Yöntem

Tanım

Bu varlık türünün belirli bir varlık türünden türet olup olmadığını (ancak ile aynı olmadığını) belirler.

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

Parametreler

entityType
IEntityType

Varlık türü.

baseType
IEntityType

Temel bir tür olup olduğunu kontrol etmek için varlık entityType türü.

Döndürülenler

Boolean

trueentityTypetüretildi ise (ancak ile aynı değildir) baseType , aksi takdirde false .

Şunlara uygulanır