ConventionEntityTypeExtensions.GetAllBaseTypesInclusiveAscending 方法

定義

傳回指定 IEntityType 的所有基底類型,包括類型本身、由下至上。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ConventionEntityTypeExtensions+<GetAllBaseTypesInclusiveAscending>d__6))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> GetAllBaseTypesInclusiveAscending (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ConventionEntityTypeExtensions+<GetAllBaseTypesInclusiveAscending>d__7))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> GetAllBaseTypesInclusiveAscending (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ConventionEntityTypeExtensions+<GetAllBaseTypesInclusiveAscending>d__6))>]
static member GetAllBaseTypesInclusiveAscending : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ConventionEntityTypeExtensions+<GetAllBaseTypesInclusiveAscending>d__7))>]
static member GetAllBaseTypesInclusiveAscending : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
<Extension()>
Public Iterator Function GetAllBaseTypesInclusiveAscending (entityType As IConventionEntityType) As IEnumerable(Of IConventionEntityType)

參數

entityType
IConventionEntityType

實體類型。

傳回

基底類型。

屬性

適用於