EntityTypeExtensions.GetAllBaseTypesAscending(IEntityType) Method

Definition

Gets all types in the model from which a given entity type derives, starting with the closest one.

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)

Parameters

entityType
IEntityType

The entity type.

Returns

The base types.

Applies to