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

实体类型。

返回

基类型。

适用于