MetadataWorkspace Class
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)
| Name | Description | |
|---|---|---|
![]() | MetadataWorkspace() | Initializes a new instance of the MetadataWorkspace class. |
![]() | MetadataWorkspace(IEnumerable<String^>^, IEnumerable<Assembly^>^) | Initializes a new instance of the MetadataWorkspace class using the specified paths and assemblies. |
| Name | Description | |
|---|---|---|
![]() ![]() | ClearCache() | Clears all the metadata cache entries. |
![]() | CreateEntitySqlParser() | Creates an EntitySqlParser configured to use the CSpace data space. |
![]() | CreateQueryCommandTree(DbExpression^) | Creates a new DbQueryCommandTree bound to this metadata workspace based on the specified query expression. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEdmSpaceType(EnumType^) | Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType. |
![]() | GetEdmSpaceType(StructuralType^) | Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType. |
![]() | GetEntityContainer(String^, Boolean, DataSpace) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | GetEntityContainer(String^, 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 name, namespace name, and data model. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetItem<T>(String^, Boolean, DataSpace) | Returns an item by using the specified identity and the data model. |
![]() | GetItem<T>(String^, DataSpace) | Returns an item by using the specified identity and the data model. |
![]() | GetItemCollection(DataSpace) | 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(EnumType^) | Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType. |
![]() | GetObjectSpaceType(StructuralType^) | Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType. |
![]() | GetPrimitiveTypes(DataSpace) | Returns the list of primitive types in the specified data model. |
![]() | GetRelevantMembersForUpdate(EntitySetBase^, EntityTypeBase^, Boolean) | Returns members of a given EntitySet/EntityType for which original values are needed when modifying an entity. |
![]() | GetRequiredOriginalValueMembers(EntitySetBase^, EntityTypeBase^) | Obsolete. Gets original value members from an entity set and entity type. |
![]() | GetType() | |
![]() | GetType(String^, String^, Boolean, DataSpace) | Returns an EdmType object by using the specified type name, namespace name, and data model. |
![]() | GetType(String^, String^, 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. |
![]() | RegisterItemCollection(ItemCollection^) | Registers the item collection with each associated data model. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | TryGetEdmSpaceType(EnumType^, EnumType^%) | |
![]() | TryGetEdmSpaceType(StructuralType^, StructuralType^%) | Returns a StructuralType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType. |
![]() | TryGetEntityContainer(String^, Boolean, DataSpace, EntityContainer^%) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | TryGetEntityContainer(String^, DataSpace, EntityContainer^%) | Returns an EntityContainer object by using the specified entity container name and the data model. |
![]() | TryGetItem<T>(String^, Boolean, DataSpace, T%) | Returns an item by using the specified identity and the data model. |
![]() | TryGetItem<T>(String^, DataSpace, T%) | Returns an item by using the specified identity and the data model. |
![]() | TryGetItemCollection(DataSpace, ItemCollection^%) | Tests the retrieval of MetadataWorkspace. |
![]() | TryGetObjectSpaceType(EnumType^, EnumType^%) | |
![]() | TryGetObjectSpaceType(StructuralType^, StructuralType^%) | 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^, Boolean, DataSpace, EdmType^%) | Returns an EdmType object by using the specified type name, namespace name, and data model. |
![]() | TryGetType(String^, String^, 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 T:System.Data.Metadata.Edm.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.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


