EntityTypeExtensions.LeastDerivedType(IEntityType, IEntityType) Метод

Определение

Возвращает наименьший производный тип между указанными двумя.

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

Параметры

entityType
IEntityType

Тип сущности.

otherEntityType
IEntityType

Другой тип сущности для сравнения.

Возвращаемое значение

Наименее производный тип между указанными двумя. Если указанные типы сущностей не связаны, возвращается null значение .

Применяется к