ConventionEntityTypeExtensions.GetAllBaseTypesAscending Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Получает все типы в модели, от которой наследуется данный тип сущности, начиная с ближайшего типа.
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> GetAllBaseTypesAscending (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetAllBaseTypesAscending : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
<Extension()>
Public Function GetAllBaseTypesAscending (entityType As IConventionEntityType) As IEnumerable(Of IConventionEntityType)
Параметры
- entityType
- IConventionEntityType
Тип сущности.
Возвращаемое значение
Базовые типы.
Применяется к
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Entity Framework