EntityTypeMapping.AddType Method (EntityType)

 

Adds an entity type to the mapping.

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

public void AddType(
	EntityType type
)

Parameters

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

The EntityType to be added.