IConventionEntityType.GetRootType Method

Definition

Gets the root base type for this entity type.

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRootType ();
abstract member GetRootType : unit -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
override this.GetRootType : unit -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Overridable Function GetRootType () As IConventionEntityType

Returns

The root base type. If this entity type is not a derived type, then the same entity type is returned.

Applies to