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