EdmModel.AddItem Method

Definition

Overloads

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.

AddItem(AssociationType)

Adds an association type to the model.

public void AddItem (System.Data.Entity.Core.Metadata.Edm.AssociationType item);
member this.AddItem : System.Data.Entity.Core.Metadata.Edm.AssociationType -> unit
Public Sub AddItem (item As AssociationType)

Parameters

item
AssociationType

The AssociationType instance to be added.

Applies to

AddItem(ComplexType)

Adds a complex type to the model.

public void AddItem (System.Data.Entity.Core.Metadata.Edm.ComplexType item);
member this.AddItem : System.Data.Entity.Core.Metadata.Edm.ComplexType -> unit
Public Sub AddItem (item As ComplexType)

Parameters

item
ComplexType

The ComplexType instance to be added.

Applies to

AddItem(EdmFunction)

Adds a function to the model.

public void AddItem (System.Data.Entity.Core.Metadata.Edm.EdmFunction item);
member this.AddItem : System.Data.Entity.Core.Metadata.Edm.EdmFunction -> unit
Public Sub AddItem (item As EdmFunction)

Parameters

item
EdmFunction

The EdmFunction instance to be added.

Applies to

AddItem(EntityType)

Adds an entity type to the model.

public void AddItem (System.Data.Entity.Core.Metadata.Edm.EntityType item);
member this.AddItem : System.Data.Entity.Core.Metadata.Edm.EntityType -> unit
Public Sub AddItem (item As EntityType)

Parameters

item
EntityType

The EntityType instance to be added.

Applies to

AddItem(EnumType)

Adds an enumeration type to the model.

public void AddItem (System.Data.Entity.Core.Metadata.Edm.EnumType item);
member this.AddItem : System.Data.Entity.Core.Metadata.Edm.EnumType -> unit
Public Sub AddItem (item As EnumType)

Parameters

item
EnumType

The EnumType instance to be added.

Applies to