Export (0) Print
Expand All

EdmItemCollection Class

Loads metadata about the conceptual model. The EdmItemCollection loads metadata from conceptual schema definition language (CSDL) files. This class is derived from the ItemCollection class.

This API is not CLS-compliant. 

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[CLSCompliantAttribute(false)]
public sealed class EdmItemCollection : ItemCollection

The EdmItemCollection type exposes the following members.

  NameDescription
Public methodEdmItemCollection(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.
Public methodEdmItemCollection(String[])Initializes a new instance of the EdmItemCollection class by using the paths where the conceptual schema definition language (CSDL) files exist.
Top

  NameDescription
Public propertyCountGets the number of elements contained in the ReadOnlyCollection<T> instance. (Inherited from ReadOnlyCollection<T>.)
Public propertyDataSpaceGets the data model associated with this item collection. (Inherited from ItemCollection.)
Public propertyEdmVersionGets the conceptual model version for this collection.
Public propertyIsReadOnlyGets a value indicating whether this collection is read-only. (Inherited from ReadOnlyMetadataCollection<T>.)
Public propertyItem[Int32]Gets the element at the specified index. (Inherited from ReadOnlyCollection<T>.)
Public propertyItem[String]Gets an item from this collection by using the specified identity. (Inherited from ReadOnlyMetadataCollection<T>.)
Top

  NameDescription
Public methodContains(T)Determines whether an element is in the ReadOnlyCollection<T>. (Inherited from ReadOnlyCollection<T>.)
Public methodContains(String)Determines whether the collection contains an item with the specified identity. (Inherited from ReadOnlyMetadataCollection<T>.)
Public methodCopyToCopies the entire ReadOnlyCollection<T> to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ReadOnlyCollection<T>.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetEntityContainer(String)Returns an EntityContainer object by using the specified entity container name. (Inherited from ItemCollection.)
Public methodGetEntityContainer(String, Boolean)Returns an EntityContainer object by using the specified entity container name. (Inherited from ItemCollection.)
Public methodGetEnumeratorReturns an enumerator that can iterate through this collection. (Inherited from ReadOnlyMetadataCollection<T>.)
Public methodGetFunctions(String)Returns all the overloads of the functions by using the specified name from this item collection. (Inherited from ItemCollection.)
Public methodGetFunctions(String, Boolean)Returns all the overloads of the functions by using the specified name from this item collection. (Inherited from ItemCollection.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetItem<T>(String)Returns a strongly typed GlobalItem object by using the specified identity. (Inherited from ItemCollection.)
Public methodGetItem<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.)
Public methodGetItems<T>Returns all the items of the specified type from this item collection. (Inherited from ItemCollection.)
Public methodGetPrimitiveTypes()Returns a collection of the PrimitiveType objects.
Public methodGetPrimitiveTypes(Double)Returns a collection of the PrimitiveType objects with the specified conceptual model version.
Public methodGetType()Gets the Type of the current instance. (Inherited from Object.)
Public methodGetType(String, String)Returns an EdmType object by using the specified type name and the namespace name in this item collection. (Inherited from ItemCollection.)
Public methodGetType(String, String, Boolean)Returns an EdmType object by using the specified type name and the namespace name from this item collection. (Inherited from ItemCollection.)
Public methodGetValueRetrieves an item from this collection by using the specified identity. (Inherited from ReadOnlyMetadataCollection<T>.)
Public methodIndexOfReturns the index of the specified value in this collection. (Inherited from ReadOnlyMetadataCollection<T>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetEntityContainer(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.)
Public methodTryGetEntityContainer(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.)
Public methodTryGetItem<T>(String, T)Returns a strongly typed GlobalItem object by using the specified identity from this item collection. (Inherited from ItemCollection.)
Public methodTryGetItem<T>(String, Boolean, T)Returns a strongly typed GlobalItem object by using the specified identity from this item collection. (Inherited from ItemCollection.)
Public methodTryGetType(String, String, EdmType)Returns an EdmType object by using the specified type name and the namespace name from this item collection. (Inherited from ItemCollection.)
Public methodTryGetType(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.)
Public methodTryGetValueRetrieves an item from this collection by using the specified identity. (Inherited from ReadOnlyMetadataCollection<T>.)
Top

  NameDescription
Public Extension MethodGetPrimitiveTypes Get the list of primitive types for the given version of Edm (Defined by MetadataExtensionMethods.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICollection<T>.AddAdds an item to the ICollection<T>. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodICollection<T>.ClearRemoves all items from the ICollection<T>. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodICollection.CopyToCopies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyICollection<T>.IsReadOnlyGets a value indicating whether the ICollection<T> is read-only. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodICollection<T>.RemoveRemoves the first occurrence of a specific object from the ICollection<T>. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyICollection.SyncRootGets an object that can be used to synchronize access to the ICollection. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorReturns an enumerator that iterates through a collection. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.AddAdds an item to the IList. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.ClearRemoves all items from the IList. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.ContainsDetermines whether the IList contains a specific value. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.IndexOfDetermines the index of a specific item in the IList. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList<T>.InsertInserts an item to the IList<T> at the specified index. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.InsertInserts an item to the IList at the specified index. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyIList.IsFixedSizeGets a value indicating whether the IList has a fixed size. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyIList.IsReadOnlyGets a value indicating whether the IList is read-only. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyIList<T>.ItemGets the element at the specified index. An NotSupportedException occurs if you try to set the item at the specified index. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate propertyIList.ItemGets the element at the specified index. A NotSupportedException occurs if you try to set the item at the specified index. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.RemoveRemoves the first occurrence of a specific object from the IList. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList<T>.RemoveAtRemoves the IList<T> item at the specified index. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Explicit interface implemetationPrivate methodIList.RemoveAtRemoves the IList item at the specified index. This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollection<T>.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft