IEntityType.GetAllBaseTypes Method

Definition

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

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> GetAllBaseTypes ();
abstract member GetAllBaseTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
override this.GetAllBaseTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
Public Overridable Function GetAllBaseTypes () As IEnumerable(Of IEntityType)

Returns

The base types.

Applies to