Aracılığıyla paylaş


EntityTypeExtensions.LeastDerivedType(IEntityType, IEntityType) Yöntem

Tanım

Belirtilen ikisi arasındaki en az türetilmiş 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ıracak diğer varlık türü.

Döndürülenler

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

Şunlara uygulanır