EdmItemCollection Class

Definition

Class for representing a collection of items in Edm space.

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

Constructors

EdmItemCollection(EdmModel)

Initializes a new instance of the EdmItemCollection class.

EdmItemCollection(IEnumerable<XmlReader>)

Initializes a new instance of the EdmItemCollection class by using the collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist.

EdmItemCollection(String[])

Initializes a new instance of the EdmItemCollection class by using the paths where the conceptual schema definition language (CSDL) files exist.

Properties

DataSpace

Gets the data model associated with this item collection.

(Inherited from ItemCollection)
EdmVersion

Gets the conceptual model version for this 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>)
Create(IEnumerable<XmlReader>, ReadOnlyCollection<String>, IList<EdmSchemaError>)

Factory method that creates an EdmItemCollection.

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.

(Inherited from ItemCollection)
GetPrimitiveTypes()

Returns a collection of the PrimitiveType objects.

GetPrimitiveTypes(Double)

Returns a collection of the PrimitiveType objects with the specified conceptual model version.

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