ObjectItemCollection Class

Definition

Class for representing a collection of items for the object layer. Most of the implementation for actual maintenance of the collection is done by ItemCollection

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

Constructors

ObjectItemCollection()

Initializes a new instance of the ObjectItemCollection class.

Properties

DataSpace

Gets the data model associated with this item collection.

(Inherited from ItemCollection)
IsReadOnly

Gets a value indicating whether this collection is read-only.

(Inherited from ReadOnlyMetadataCollection<T>)
Item[String]

Gets an item from this collection by using the specified identity.

(Inherited from ReadOnlyMetadataCollection<T>)

Methods

Contains(String)

Determines whether the collection contains an item with the specified identity.

(Inherited from ReadOnlyMetadataCollection<T>)
GetClrType(EnumType)

The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown.

GetClrType(StructuralType)

Returns the CLR type that corresponds to the StructuralType supplied by the objectSpaceType parameter.

GetEntityContainer(String)

Returns an EntityContainer object by using the specified entity container name.

(Inherited from ItemCollection)
GetEntityContainer(String, Boolean)

Returns an EntityContainer object by using the specified entity container name.

(Inherited from ItemCollection)
GetEnumerator()

Returns an enumerator that can iterate through this collection.

(Inherited from ReadOnlyMetadataCollection<T>)
GetFunctions(String)

Returns all the overloads of the functions by using the specified name from this item collection.

(Inherited from ItemCollection)
GetFunctions(String, Boolean)

Returns all the overloads of the functions by using the specified name from this item collection.

(Inherited from ItemCollection)
GetItem<T>(String)

Returns a strongly typed GlobalItem object by using the specified identity.

(Inherited from ItemCollection)
GetItem<T>(String, Boolean)

Returns a strongly typed GlobalItem object by using the specified identity with either case-sensitive or case-insensitive search.

(Inherited from ItemCollection)
GetItems<T>()

Returns all the items of the specified type from this item collection.

GetPrimitiveTypes()

Returns a collection of primitive type objects.

GetType(String, String)

Returns an EdmType object by using the specified type name and the namespace name in this item collection.

(Inherited from ItemCollection)
GetType(String, String, Boolean)

Returns an EdmType object by using the specified type name and the namespace name from this item collection.

(Inherited from ItemCollection)
GetValue(String, Boolean)

Retrieves an item from this collection by using the specified identity.

(Inherited from ReadOnlyMetadataCollection<T>)
IndexOf(T)

Returns the index of the specified value in this collection.

(Inherited from ReadOnlyMetadataCollection<T>)
LoadFromAssembly(Assembly)

Loads metadata from the given assembly.

LoadFromAssembly(Assembly, EdmItemCollection)

Loads metadata from the specified assembly.

LoadFromAssembly(Assembly, EdmItemCollection, Action<String>)

Loads metadata from the given assembly.

TryGetClrType(EnumType, Type)

Returns the underlying CLR type for the specified OSpace enum type argument. If the DataSpace of the parameter is not OSpace, the method returns false and sets the out parameter to null.

TryGetClrType(StructuralType, Type)

Returns a CLR type corresponding to the StructuralType supplied by the objectSpaceType parameter.

TryGetEntityContainer(String, Boolean, EntityContainer)

Returns an EntityContainer object by using the specified entity container name. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container.

(Inherited from ItemCollection)
TryGetEntityContainer(String, EntityContainer)

Returns an EntityContainer object by using the specified entity container name. If there is no entity container, the output parameter contains null; otherwise, it contains the first entity container.

(Inherited from ItemCollection)
TryGetItem<T>(String, Boolean, T)

Returns a strongly typed GlobalItem object by using the specified identity from this item collection.

(Inherited from ItemCollection)
TryGetItem<T>(String, T)

Returns a strongly typed GlobalItem object by using the specified identity from this item collection.

(Inherited from ItemCollection)
TryGetType(String, String, Boolean, EdmType)

Returns an EdmType object by using the specified type name and the namespace name from this item collection.

(Inherited from ItemCollection)
TryGetType(String, String, EdmType)

Returns an EdmType object by using the specified type name and the namespace name from this item collection.

(Inherited from ItemCollection)
TryGetValue(String, Boolean, T)

Retrieves an item from this collection by using the specified identity.

(Inherited from ReadOnlyMetadataCollection<T>)

Applies to