EdmModel.AddItem Method
Adds an object to the model.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | AddItem(AssociationType) | Adds an association type to the model. |
![]() | AddItem(ComplexType) | Adds a complex type to the model. |
![]() | AddItem(EdmFunction) | Adds a function to the model. |
![]() | AddItem(EntityType) | Adds an entity type to the model. |
![]() | AddItem(EnumType) | Adds an enumeration type to the model. |
EdmModel.AddItem Method (AssociationType)
Adds an association type to the model.
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.
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.
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.
Parameters
- item
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntityType
The EntityType instance to be added.