EntityTypeExtensions.IsAssignableFrom(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ı (veya ile aynı olduğunu) belirler.

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

Parametreler

entityType
IEntityType

Temel varlık türü.

derivedType
IEntityType

'den türetilen varlık entityType türü.

Döndürülenler

Boolean

truederivedTypetüretildi ise (veya ile aynıdır) entityType , aksi takdirde false .

Şunlara uygulanır