EdmModel Class

 

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.

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

System.Object
  System.Data.Entity.Core.Metadata.Edm.MetadataItem
    System.Data.Entity.Core.Metadata.Edm.EdmModel

public class EdmModel : MetadataItem

NameDescription
System_CAPS_pubpropertyAssociationTypes

Gets the association types in the model.

System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this type.(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyComplexTypes

Gets the complex types in the model.

System_CAPS_pubpropertyContainer

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

System_CAPS_pubpropertyDataSpace

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

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyEntityTypes

Gets the entity types in the model.

System_CAPS_pubpropertyEnumTypes

Gets the enum types in the model.

System_CAPS_pubpropertyFunctions

Gets the functions in the model.

System_CAPS_pubpropertyGlobalItems

Gets the global items associated with the model.

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.)

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.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAnnotation(String)

Removes an annotation with the specified name.(Inherited from MetadataItem.)

System_CAPS_pubmethodRemoveItem(AssociationType)

Removes an association type from the model.

System_CAPS_pubmethodRemoveItem(ComplexType)

Removes a complex type from the model.

System_CAPS_pubmethodRemoveItem(EdmFunction)

Removes a function from the model.

System_CAPS_pubmethodRemoveItem(EntityType)

Removes an entity type from the model.

System_CAPS_pubmethodRemoveItem(EnumType)

Removes an enumeration type from the model.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.