Share via


EdmModel Class

Definition

Represents a conceptual or store model. This class can be used to access information about the shape of the model and the way the that it has been configured.

public class EdmModel : System.Data.Entity.Core.Metadata.Edm.MetadataItem
type EdmModel = class
    inherit MetadataItem
Public Class EdmModel
Inherits MetadataItem
Inheritance
EdmModel

Properties

AssociationTypes

Gets the association types in the model.

BuiltInTypeKind

Gets the built-in type kind for this type.

ComplexTypes

Gets the complex types in the model.

Container

Gets the container that stores entity and association sets, and function imports.

DataSpace

Gets the data space associated with the model, which indicates whether it is a conceptual model (DataSpace.CSpace) or a store model (DataSpace.SSpace).

Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
EntityTypes

Gets the entity types in the model.

EnumTypes

Gets the enum types in the model.

Functions

Gets the functions in the model.

GlobalItems

Gets the global items associated with the model.

MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)

Methods

AddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.

(Inherited from MetadataItem)
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.

RemoveAnnotation(String)

Removes an annotation with the specified name.

(Inherited from MetadataItem)
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.

Applies to