EntityTypeExtensions.GetAllBaseTypes(IEntityType) Метод

Определение

Возвращает все типы в модели, от которых наследуется данный тип сущности, начиная с корневого.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> GetAllBaseTypes (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetAllBaseTypes : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
<Extension()>
Public Function GetAllBaseTypes (entityType As IEntityType) As IEnumerable(Of IEntityType)

Параметры

entityType
IEntityType

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

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

Базовые типы.

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