ObjectItemCollection Class
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
Assembly: EntityFramework (in EntityFramework.dll)
System.Collections.ObjectModel.ReadOnlyCollection<T>
System.Data.Entity.Core.Metadata.Edm.ReadOnlyMetadataCollection<T>
System.Data.Entity.Core.Metadata.Edm.ItemCollection
System.Data.Entity.Core.Metadata.Edm.ObjectItemCollection
Name | Description | |
---|---|---|
![]() | ObjectItemCollection() | Initializes a new instance of the ObjectItemCollection class. |
Name | Description | |
---|---|---|
![]() | Count | (Inherited from ReadOnlyCollection<T>.) |
![]() | 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[Int32] | (Inherited from ReadOnlyCollection<T>.) |
![]() | Item[String] | Gets an item from this collection by using the specified identity.(Inherited from ReadOnlyMetadataCollection<T>.) |
![]() | Items | (Inherited from ReadOnlyCollection<T>.) |
Name | Description | |
---|---|---|
![]() | Contains(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() | Contains(String) | Determines whether the collection contains an item with the specified identity.(Inherited from ReadOnlyMetadataCollection<T>.) |
![]() | CopyTo(T[], Int32) | (Inherited from ReadOnlyCollection<T>.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | 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.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | 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.(Overrides ItemCollection.GetItems<T>().) |
![]() | GetPrimitiveTypes() | Returns a collection of primitive type objects. |
![]() | GetType() | (Inherited from Object.) |
![]() | 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. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | 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, T) | Returns a strongly typed GlobalItem object by using the specified identity from this item collection.(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.) |
![]() | 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>.) |
Name | Description | |
---|---|---|
![]() ![]() | ICollection<T>.Add(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | ICollection<T>.Clear() | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | ICollection<T>.Remove(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList<T>.Insert(Int32, T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList<T>.RemoveAt(Int32) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | ICollection.CopyTo(Array, Int32) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IEnumerable.GetEnumerator() | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Add(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Clear() | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Contains(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.IndexOf(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Insert(Int32, Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Remove(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.RemoveAt(Int32) | (Inherited from ReadOnlyCollection<T>.) |
Name | Description | |
---|---|---|
![]() | GetAllAssociations() | Retrieves an enumerable collection of all AssociationType elements in this ItemCollection(Defined by MetadataWorkspaceExtensions.) |
![]() | GetAllAssociationSets() | Retrieves an enumerable collection of all AssociationSet elements in this ItemCollection(Defined by MetadataWorkspaceExtensions.) |
![]() | GetAllEntitySets() | Retrieves an enumerable collection of all EntitySet elements in this ItemCollection(Defined by MetadataWorkspaceExtensions.) |
![]() | GetAllEntityTypes() | Retrieves an enumerable collection of all EntityType elements in this ItemCollection(Defined by MetadataWorkspaceExtensions.) |
![]() | GetEntityContainerName() | Retrieves the 'Name' attribute of the &lt;EntityContainer/&gt; element in this ItemCollection.(Defined by MetadataWorkspaceExtensions.) |
![]() | GetNamespace() | Retrieves the namespace of this ItemCollection by examining the first-found StructuralType(Defined by MetadataWorkspaceExtensions.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.