Share via


EdmModel Class

Represents an EDM model.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.EdmModelBase
      Microsoft.Data.Edm.Library.EdmModel

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Class EdmModel _
    Inherits EdmModelBase
'Usage
Dim instance As EdmModel
public class EdmModel : EdmModelBase
public ref class EdmModel : public EdmModelBase
type EdmModel =  
    class 
        inherit EdmModelBase 
    end
public class EdmModel extends EdmModelBase

The EdmModel type exposes the following members.

Constructors

  Name Description
Public method EdmModel Initializes a new instance of the EdmModel class.

Top

Properties

  Name Description
Public property DirectValueAnnotationsManager Gets the model's annotations manager. (Inherited from EdmModelBase.)
Public property ReferencedModels Gets the collection of models referred to by this model. (Inherited from EdmModelBase.)
Public property SchemaElements Gets the collection of schema elements that are contained in this model. (Overrides EdmModelBase.SchemaElements.)
Public property VocabularyAnnotations Gets the collection of vocabulary annotations that are contained in this model. (Overrides EdmModelBase.VocabularyAnnotations.)

Top

Methods

  Name Description
Public method AddElement Adds an element to the EDM library.
Public method AddElements Adds an IEdmSchemaElement to the EDM library.
Public method AddReferencedModel Adds a model reference to this model.
Public method AddVocabularyAnnotation Adds a vocabulary annotation to this model.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindDeclaredEntityContainer Searches for an entity container with the given name in this model and returns null if no such entity container exists. (Inherited from EdmModelBase.)
Public method FindDeclaredFunctions Searches for a function with the given name in this model and returns null if no such function exists. (Inherited from EdmModelBase.)
Public method FindDeclaredType Searches for a type with the given name in this model and returns null if no such type exists. (Inherited from EdmModelBase.)
Public method FindDeclaredValueTerm Searches for a value term with the given name in this model and returns null if no such value term exists. (Inherited from EdmModelBase.)
Public method FindDeclaredVocabularyAnnotations Searches for vocabulary annotations specified by this model. (Overrides EdmModelBase.FindDeclaredVocabularyAnnotations(IEdmVocabularyAnnotatable).)
Public method FindDirectlyDerivedTypes Finds a list of types that derive directly from the supplied type. (Overrides EdmModelBase.FindDirectlyDerivedTypes(IEdmStructuredType).)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method RegisterElement Registers the specified element. (Inherited from EdmModelBase.)
Public method ToString (Inherited from Object.)

Top

Remarks

No content here will be updated; please do not add material here.

Thread Safety

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

See Also

Reference

Microsoft.Data.Edm.Library Namespace