EntityTypeExtensions.GetAllBaseTypesInclusive(IEntityType) Method

Definition

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

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

Parameters

entityType
IEntityType

The entity type.

Returns

Base types.

Applies to