MetadataWorkspaceExtensions.IsDerivedType Method (EntityType)

 

Determines whether the specified entity type is a derived type.

Namespace:   Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly:  Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public static bool IsDerivedType(
	this EntityType entityType
)

Parameters

entityType
Type: System.Data.Entity.Core.Metadata.Edm.EntityType

An entity type in the conceptual model.

Return Value

Type: System.Boolean

True if the specified entity type has a base type; false otherwise.