ConventionEntityTypeExtensions.GetAllBaseTypesAscending 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從最接近的實體類型開始,取得模型中衍生指定實體類型的所有類型。
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
實體類型。
傳回
基底類型。