EntityTypeExtensions.GetAllBaseTypesAscending(IEntityType) 方法

定义

获取模型中给定实体类型派生自的所有类型,从最近的类型开始。

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

参数

entityType
IEntityType

实体类型。

返回

基类型。

适用于