EdmModel.RemoveItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RemoveItem(AssociationType) |
Removes an association type from the model. |
RemoveItem(ComplexType) |
Removes a complex type from the model. |
RemoveItem(EdmFunction) |
Removes a function from the model. |
RemoveItem(EntityType) |
Removes an entity type from the model. |
RemoveItem(EnumType) |
Removes an enumeration type from the model. |
RemoveItem(AssociationType)
Removes an association type from the model.
public void RemoveItem (System.Data.Entity.Core.Metadata.Edm.AssociationType item);
member this.RemoveItem : System.Data.Entity.Core.Metadata.Edm.AssociationType -> unit
Public Sub RemoveItem (item As AssociationType)
Parameters
- item
- AssociationType
The AssociationType instance to be removed.
Applies to
RemoveItem(ComplexType)
Removes a complex type from the model.
public void RemoveItem (System.Data.Entity.Core.Metadata.Edm.ComplexType item);
member this.RemoveItem : System.Data.Entity.Core.Metadata.Edm.ComplexType -> unit
Public Sub RemoveItem (item As ComplexType)
Parameters
- item
- ComplexType
The ComplexType instance to be removed.
Applies to
RemoveItem(EdmFunction)
Removes a function from the model.
public void RemoveItem (System.Data.Entity.Core.Metadata.Edm.EdmFunction item);
member this.RemoveItem : System.Data.Entity.Core.Metadata.Edm.EdmFunction -> unit
Public Sub RemoveItem (item As EdmFunction)
Parameters
- item
- EdmFunction
The EdmFunction instance to be removed.
Applies to
RemoveItem(EntityType)
Removes an entity type from the model.
public void RemoveItem (System.Data.Entity.Core.Metadata.Edm.EntityType item);
member this.RemoveItem : System.Data.Entity.Core.Metadata.Edm.EntityType -> unit
Public Sub RemoveItem (item As EntityType)
Parameters
- item
- EntityType
The EntityType instance to be removed.
Applies to
RemoveItem(EnumType)
Removes an enumeration type from the model.
public void RemoveItem (System.Data.Entity.Core.Metadata.Edm.EnumType item);
member this.RemoveItem : System.Data.Entity.Core.Metadata.Edm.EnumType -> unit
Public Sub RemoveItem (item As EnumType)
Parameters
- item
- EnumType
The EnumType instance to be removed.
Applies to
Entity Framework