ConventionEntityTypeExtensions.GetAllBaseTypesInclusive 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.IConventionEntityType> GetAllBaseTypesInclusive (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetAllBaseTypesInclusive : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
<Extension()>
Public Function GetAllBaseTypesInclusive (entityType As IConventionEntityType) As IEnumerable(Of IConventionEntityType)

Parameters

entityType
IConventionEntityType

The entity type.

Returns

Base types.

Applies to