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

實體類型。

傳回

基底類型。

適用於