EntityTypeExtensions.GetAllBaseTypesInclusiveAscending(IEntityType) Method

Definition

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

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

Parameters

entityType
IEntityType

The entity type.

Returns

Base types.

Attributes

Applies to