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

Parameters

entityType
IMutableEntityType

The entity type.

Returns

The base types.

Applies to