Share via


ItemCollection Class

Definition

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

public abstract class ItemCollection : System.Data.Entity.Core.Metadata.Edm.ReadOnlyMetadataCollection<System.Data.Entity.Core.Metadata.Edm.GlobalItem>
type ItemCollection = class
    inherit ReadOnlyMetadataCollection<GlobalItem>
Public MustInherit Class ItemCollection
Inherits ReadOnlyMetadataCollection(Of GlobalItem)
Inheritance
Derived

Properties

DataSpace

Gets the data model associated with this item collection.

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>)
GetEntityContainer(String, Boolean)

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

GetEntityContainer(String)

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

GetEnumerator()

Returns an enumerator that can iterate through this collection.

(Inherited from ReadOnlyMetadataCollection<T>)
GetFunctions(Dictionary<String,ReadOnlyCollection<EdmFunction>>, String, Boolean)

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

GetFunctions(String, Boolean)

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

GetFunctions(String)

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

GetItem<T>(String, Boolean)

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

GetItem<T>(String)

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

GetItems<T>()

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

GetType(String, String, Boolean)

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

GetType(String, String)

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

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

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.

TryGetItem<T>(String, Boolean, T)

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

TryGetItem<T>(String, T)

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

TryGetType(String, String, Boolean, EdmType)

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

TryGetType(String, String, EdmType)

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

TryGetValue(String, Boolean, T)

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

(Inherited from ReadOnlyMetadataCollection<T>)

Applies to