StorageMappingItemCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of items in Storage Mapping (CS Mapping) space.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
public class StorageMappingItemCollection : System.Data.Entity.Core.Mapping.MappingItemCollection
type StorageMappingItemCollection = class
inherit MappingItemCollection
Public Class StorageMappingItemCollection
Inherits MappingItemCollection
- Inheritance
-
StorageMappingItemCollection
- Attributes
Constructors
StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>) |
Initializes a new instance of the StorageMappingItemCollection class using the specified EdmItemCollection, StoreItemCollection and XML readers. |
StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, String[]) |
Initializes a new instance of the StorageMappingItemCollection class using the specified EdmItemCollection, StoreItemCollection and a collection of string indicating the metadata file paths. |
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>) |
MappingVersion |
Gets the version of this StorageMappingItemCollection represents. |
MappingViewCacheFactory |
Gets or sets a DbMappingViewCacheFactory for creating DbMappingViewCache instances that are used to retrieve pre-generated mapping views. |
Methods
ComputeMappingHashValue() |
Computes a hash value for the single container mapping in the collection. |
ComputeMappingHashValue(String, String) |
Computes a hash value for the container mapping specified by the names of the mapped containers. |
Contains(String) |
Determines whether the collection contains an item with the specified identity. (Inherited from ReadOnlyMetadataCollection<T>) |
Create(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, IList<String>, IList<EdmSchemaError>) |
Factory method that creates a StorageMappingItemCollection. |
GenerateViews(IList<EdmSchemaError>) |
Creates a dictionary of (extent, generated view) for the single container mapping in the collection. |
GenerateViews(String, String, IList<EdmSchemaError>) |
Creates a dictionary of (extent, generated view) for a container mapping specified by the names of the mapped containers. |
GetEntityContainer(String, Boolean) |
Returns an EntityContainer object by using the specified entity container name. (Inherited from ItemCollection) |
GetEntityContainer(String) |
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, Boolean) |
Returns all the overloads of the functions by using the specified name from this item collection. (Inherited from ItemCollection) |
GetFunctions(String) |
Returns all the overloads of the functions by using the specified name from this item collection. (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) |
GetItem<T>(String) |
Returns a strongly typed GlobalItem object by using the specified identity. (Inherited from ItemCollection) |
GetItems<T>() |
Returns all the items of the specified type from 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) |
GetType(String, String) |
Returns an EdmType object by using the specified type name and the namespace name in 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
Entity Framework