MetadataWorkspaceExtensions.GetRootOrSelf Method (EntityType)
Returns this EntityType if it has no base type. Otherwise, returns the top-most base type.
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
Parameters
- entityType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntityType
The EntityType.