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>)

使用概念性架构定义语言 (CSDL) 文件所在的对象的集合初始化 EdmItemCollection 类的新实例。

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)

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

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

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

(继承自 ItemCollection)
GetEnumerator()

返回一个可循环访问此集合的枚举数。

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

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

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

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

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

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

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

通过使用指定的标识进行区分大小写或不区分大小写的搜索,返回一个强类型的 GlobalItem 对象。

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

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

(继承自 ItemCollection)
GetPrimitiveTypes()

返回一个由 PrimitiveType 对象构成的集合。

GetPrimitiveTypes(Double)

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

GetType(String, String)

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

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

使用指定的类型名称和命名空间名称从此项集合中返回一个 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>)

适用于