EntityTypeExtensions.GetAllBaseTypesInclusive(IEntityType) 方法

定義

傳回指定 IEntityType 的所有基底類型,包括型別本身、由上至下。

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

參數

entityType
IEntityType

實體類型。

傳回

基底類型。

適用於