EntityTypeMapping.AddIsOfType Method (EntityType)

 

Adds an entity type hierarchy to the mapping. The hierarchy is represented by the specified root entity type.

Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", 
	MessageId = "AddIs")]
public void AddIsOfType(
	EntityType type
)

Parameters

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

The root EntityType of the hierarchy to be added.