语言

EdmItemCollection 类

定义

用于表示 Edm 空间中的项集合的类。

public sealed class EdmItemCollection : System.Data.Entity.Core.Metadata.Edm.ItemCollection
type EdmItemCollection = class
    inherit ItemCollection
Public NotInheritable Class EdmItemCollection
Inherits ItemCollection
继承

构造函数

名称 说明
EdmItemCollection(EdmModel)

初始化 EdmItemCollection 类的新实例。

EdmItemCollection(IEnumerable<XmlReader>)

通过使用 XMLReader 对象的集合初始化类的新实例 EdmItemCollection ,其中存在概念架构定义语言 (CSDL) 文件。

EdmItemCollection(String[])

使用概念架构定义语言(CSDL)文件存在的路径初始化类的新实例 EdmItemCollection 。

属性

名称 说明
DataSpace

获取与此项集合关联的数据模型。

(继承自 ItemCollection)
EdmVersion

获取此集合的概念模型版本。

IsReadOnly

获取一个值,该值指示此集合是否为只读。

(继承自 ReadOnlyMetadataCollection<T>)
Item[String]

使用指定的标识从此集合中获取项。

(继承自 ReadOnlyMetadataCollection<T>)

方法

名称 说明
Contains(String)

确定集合是否包含具有指定标识的项。

(继承自 ReadOnlyMetadataCollection<T>)
Create(IEnumerable<XmlReader>, ReadOnlyCollection<String>, IList<EdmSchemaError>)

用于创建 . EdmItemCollection.

GetEntityContainer(String, Boolean)

使用指定的实体容器名称返回对象 EntityContainer 。

(继承自 ItemCollection)
GetEntityContainer(String)

使用指定的实体容器名称返回对象 EntityContainer 。

(继承自 ItemCollection)
GetEnumerator()

返回可循环访问此集合的枚举器。

(继承自 ReadOnlyMetadataCollection<T>)
GetFunctions(String, Boolean)

通过使用此项集合中的指定名称返回函数的所有重载。

(继承自 ItemCollection)
GetFunctions(String)

通过使用此项集合中的指定名称返回函数的所有重载。

(继承自 ItemCollection)
GetItem<T>(String, Boolean)

通过使用具有区分大小写或不区分大小写的搜索的指定标识返回强类型 GlobalItem 对象。

(继承自 ItemCollection)
GetItem<T>(String)

使用指定的标识返回强类型 GlobalItem 对象。

(继承自 ItemCollection)
GetItems<T>()

从此项集合中返回指定类型的所有项。

(继承自 ItemCollection)
GetPrimitiveTypes()

返回对象的集合 PrimitiveType 。

GetPrimitiveTypes(Double)

返回具有指定概念模型版本的对象的集合 PrimitiveType 。

GetType(String, String, Boolean)

通过使用指定的类型名称和此项集合中的命名空间名称返回对象 EdmType 。

(继承自 ItemCollection)
GetType(String, String)

使用此项集合中的指定类型名称和命名空间名称返回对象 EdmType 。

(继承自 ItemCollection)
GetValue(String, Boolean)

使用指定的标识从此集合中检索项。

(继承自 ReadOnlyMetadataCollection<T>)
IndexOf(T)

返回此集合中指定值的索引。

(继承自 ReadOnlyMetadataCollection<T>)
TryGetEntityContainer(String, Boolean, EntityContainer)

使用指定的实体容器名称返回对象 EntityContainer 。 如果没有实体容器,则此输出参数包含 null;否则,它包含第一个实体容器。

(继承自 ItemCollection)
TryGetEntityContainer(String, EntityContainer)

使用指定的实体容器名称返回对象 EntityContainer 。 如果没有实体容器,则输出参数包含 null;否则,它包含第一个实体容器。

(继承自 ItemCollection)
TryGetItem<T>(String, Boolean, T)

通过使用此项集合中的指定标识返回强类型 GlobalItem 对象。

(继承自 ItemCollection)
TryGetItem<T>(String, T)

通过使用此项集合中的指定标识返回强类型 GlobalItem 对象。

(继承自 ItemCollection)
TryGetType(String, String, Boolean, EdmType)

通过使用指定的类型名称和此项集合中的命名空间名称返回对象 EdmType 。

(继承自 ItemCollection)
TryGetType(String, String, EdmType)

通过使用指定的类型名称和此项集合中的命名空间名称返回对象 EdmType 。

(继承自 ItemCollection)
TryGetValue(String, Boolean, T)

使用指定的标识从此集合中检索项。

(继承自 ReadOnlyMetadataCollection<T>)

适用于