EntityTypeExtensions.LeastDerivedType(IEntityType, IEntityType) Yöntem

Tanım

Belirtilen ikisi arasında en az türetilen türü alır.

public static Microsoft.EntityFrameworkCore.Metadata.IEntityType LeastDerivedType (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType otherEntityType);
static member LeastDerivedType : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
<Extension()>
Public Function LeastDerivedType (entityType As IEntityType, otherEntityType As IEntityType) As IEntityType

Parametreler

entityType
IEntityType

Varlık türü.

otherEntityType
IEntityType

Karşılaştırıla diğer varlık türü.

Döndürülenler

IEntityType

Belirtilen ikisi arasında en az türetilen tür. Verilen varlık türleri ilişkili değilse null döndürülür.

Şunlara uygulanır