EdmModel.AddItem Method

 

Adds an object to the model.

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

NameDescription
System_CAPS_pubmethodAddItem(AssociationType)

Adds an association type to the model.

System_CAPS_pubmethodAddItem(ComplexType)

Adds a complex type to the model.

System_CAPS_pubmethodAddItem(EdmFunction)

Adds a function to the model.

System_CAPS_pubmethodAddItem(EntityType)

Adds an entity type to the model.

System_CAPS_pubmethodAddItem(EnumType)

Adds an enumeration type to the model.


EdmModel.AddItem Method (AssociationType)

Adds an association type to the model.

public void AddItem(
	AssociationType item
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.AssociationType

The AssociationType instance to be added.


EdmModel.AddItem Method (ComplexType)

Adds a complex type to the model.

public void AddItem(
	ComplexType item
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.ComplexType

The ComplexType instance to be added.


EdmModel.AddItem Method (EdmFunction)

Adds a function to the model.

public void AddItem(
	EdmFunction item
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.EdmFunction

The EdmFunction instance to be added.


EdmModel.AddItem Method (EntityType)

Adds an entity type to the model.

public void AddItem(
	EntityType item
)

Parameters

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

The EntityType instance to be added.


EdmModel.AddItem Method (EnumType)

Adds an enumeration type to the model.

public void AddItem(
	EnumType item
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.EnumType

The EnumType instance to be added.