EntityTypeExtensions.GetAllBaseTypes(IEntityType) 方法

定義

從根開始,取得衍生指定實體類型之模型中的所有型別。

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

參數

entityType
IEntityType

實體類型。

傳回

基底類型。

適用於