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

實體類型。

傳回

基底類型。

適用於