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

Parameters

entityType
IMutableEntityType

The entity type.

Returns

The base types.

Applies to