This documentation is archived and is not being maintained.
MetadataWorkspace Class
Visual Studio 2010
Represents the ADO.NET metadata runtime service component that provides support for retrieving metadata from various sources.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The MetadataWorkspace type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MetadataWorkspace() | Initializes a new instance of the MetadataWorkspace class. |
![]() | MetadataWorkspace(IEnumerable<String>, IEnumerable<Assembly>) | Initializes a new instance of the MetadataWorkspace class. |
| Name | Description | |
|---|---|---|
![]() ![]() | ClearCache | Clears all the metadata cache entries. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEdmSpaceType | Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType. |
![]() | GetEntityContainer(String, DataSpace) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | GetEntityContainer(String, Boolean, DataSpace) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | GetFunctions(String, String, DataSpace) | Returns all the overloads of the functions by using the specified name, namespace name, and data model. |
![]() | GetFunctions(String, String, DataSpace, Boolean) | Returns all the overloads of the functions by using the specified function name, namespace name, and data model. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetItem<T>(String, DataSpace) | Returns an item by using the specified identity and the data model. |
![]() | GetItem<T>(String, Boolean, DataSpace) | Returns an item by using the specified identity and the data model. |
![]() | GetItemCollection | Gets MetadataWorkspace items. |
![]() | GetItems(DataSpace) | Gets all the items in the specified data model. |
![]() | GetItems<T>(DataSpace) | Gets all the items in the specified data model. |
![]() | GetObjectSpaceType | Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType. |
![]() | GetPrimitiveTypes | Returns the list of primitive types in the specified data model. |
![]() | GetRequiredOriginalValueMembers | Gets original value members from an entity set and entity type. |
![]() | GetType() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetType(String, String, DataSpace) | Returns an EdmType object by using the specified type name, namespace name, and data model. |
![]() | GetType(String, String, Boolean, DataSpace) | Returns an EdmType object by using the specified type name, namespace name, and data model. |
![]() | LoadFromAssembly(Assembly) | Loads metadata from the given assembly. |
![]() | LoadFromAssembly(Assembly, Action<String>) | Loads metadata from the given assembly. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RegisterItemCollection | Registers the item collection with each associated data model. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetEdmSpaceType | Returns a StructuralType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType. |
![]() | TryGetEntityContainer(String, DataSpace, EntityContainer%) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | TryGetEntityContainer(String, Boolean, DataSpace, EntityContainer%) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | TryGetItem<T>(String, DataSpace, T%) | Returns an item by using the specified identity and the data model. |
![]() | TryGetItem<T>(String, Boolean, DataSpace, T%) | Returns an item by using the specified identity and the data model. |
![]() | TryGetItemCollection | Tests the retrieval of MetadataWorkspace. |
![]() | TryGetObjectSpaceType | Returns a StructuralType object via the out parameter objectSpaceType that represents the type that matches the EdmType supplied by the parameter edmSpaceType. |
![]() | TryGetType(String, String, DataSpace, EdmType%) | Returns an EdmType object by using the specified type name, namespace name, and data model. |
![]() | TryGetType(String, String, Boolean, DataSpace, EdmType%) | Returns an EdmType object by using the specified type name, namespace name, and data model. |
| Name | Description | |
|---|---|---|
![]() ![]() | MaximumEdmVersionSupported | Represents the maximum Entity Data Model (EDM) version supported by the Entity Framework runtime. |
The MetadataWorkSpace class provides a central runtime service component that you can use to interact with conceptual model metadata in the context of a given application. For more information, see Metadata Workspace.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
