ConventionEntityTypeExtensions.GetAllBaseTypes(IConventionEntityType) Method

Definition

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

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

Parameters

entityType
IConventionEntityType

The entity type.

Returns

The base types.

Applies to