EdmModel 类

表示 EDM 模型。

继承层次结构

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

命名空间:  Microsoft.Data.Edm.Library
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
Public Class EdmModel _
    Inherits EdmModelBase
用法
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

EdmModel 类型公开以下成员。

构造函数

  名称 说明
公共方法 EdmModel

页首

属性

  名称 说明
公共属性 DirectValueAnnotationsManager 获取模型的批注管理器。 (从 EdmModelBase 继承。)
公共属性 References 获取模型引用的集合。 (从 EdmModelBase 继承。)
公共属性 SchemaElements (覆盖 EdmModelBase.SchemaElements。)
公共属性 VocabularyAnnotations 获取包含在此模型中的词汇批注的集合。 (覆盖 EdmModelBase.VocabularyAnnotations。)

页首

方法

  名称 说明
公共方法 AddElement
公共方法 AddElements
公共方法 AddReference 向此模型添加模型引用。
公共方法 AddVocabularyAnnotation 向此模型添加词汇批注。
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 FindDeclaredEntityContainer 在此模型中搜索具有给定名称的实体容器,如果不存在这样的实体容器,则返回 null。 (从 EdmModelBase 继承。)
公共方法 FindDeclaredFunctions 在此模型中搜索具有给定名称的函数,如果不存着这样的函数,则返回 null。 (从 EdmModelBase 继承。)
公共方法 FindDeclaredType 在此模型中搜索具有给定名称的类型,如果不存在这样的类型,则返回 null。 (从 EdmModelBase 继承。)
公共方法 FindDeclaredValueTerm 在此模型中搜索具有给定名称的值术语,如果不存在这样的值术语,则返回 null。 (从 EdmModelBase 继承。)
公共方法 FindDeclaredVocabularyAnnotations 搜索由此模型指定的词汇批注。 (覆盖 EdmModelBase.FindDeclaredVocabularyAnnotations(IEdmVocabularyAnnotatable)。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 RegisterElement 注册指定元素。 (从 EdmModelBase 继承。)
公共方法 RemoveElement
公共方法 RemoveReference 从此模型中移除模型引用。
公共方法 RemoveVocabularyAnnotation 从此模型删除词汇批注。
公共方法 ToString (从 Object 继承。)
受保护方法 UnregisterElement 取消注册指定元素。 (从 EdmModelBase 继承。)

页首

注释

这里不会更新任何内容;请不要在这里添加材料。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Data.Edm.Library 命名空间