ObjectItemCollection 类

定义

用于表示对象层的项集合的类。 集合实际维护的大部分实现都由 ItemCollection 完成

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

构造函数

ObjectItemCollection()

初始化 ObjectItemCollection 类的新实例。

属性

DataSpace

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

(继承自 ItemCollection)
IsReadOnly

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

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

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

(继承自 ReadOnlyMetadataCollection<T>)

方法

Contains(String)

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

(继承自 ReadOnlyMetadataCollection<T>)
GetClrType(EnumType)

方法返回基础返回用于指定 OSpace 类型参数的 CLR 类型。 如果该参数的 DataSpace 不为 OSpace,则将引发 ArgumentException。

GetClrType(StructuralType)

返回与由 objectSpaceType 参数提供的 StructuralType 相应的 CLR 类型。

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

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

GetPrimitiveTypes()

返回基元类型对象集合。

GetType(String, String)

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

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

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

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

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

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

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

(继承自 ReadOnlyMetadataCollection<T>)
LoadFromAssembly(Assembly)

加载给定程序集中的元数据。

LoadFromAssembly(Assembly, EdmItemCollection)

从指定的程序集加载元数据。

LoadFromAssembly(Assembly, EdmItemCollection, Action<String>)

加载给定程序集中的元数据。

TryGetClrType(EnumType, Type)

返回基础返回用于指定 OSpace 枚举类型参数的 CLR 类型。 如果该参数的 DataSpace 不为 OSpace,则此方法返回 false 并将该参数设置为 null。

TryGetClrType(StructuralType, Type)

返回与由 objectSpaceType 参数提供的 StructuralType 相对应的 CLR 类型。

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

适用于