ConventionEntityTypeExtensions.GetAllBaseTypesInclusiveAscending Method

Definition

Returns all base types of the given IEntityType, including the type itself, bottom to top.

[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)

Parameters

entityType
IConventionEntityType

The entity type.

Returns

Base types.

Attributes

Applies to