Export (0) Print
Expand All

MetadataWorkspace Methods

The MetadataWorkspace type exposes the following members.

  Name Description
Public method Static member ClearCache Clears all the metadata cache entries.
Public method CreateEntitySqlParser Creates an EntitySqlParser configured to use the CSpace data space.
Public method CreateQueryCommandTree Creates a new DbQueryCommandTree bound to this metadata workspace based on the specified query expression.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEdmSpaceType(EnumType) Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType.
Public method GetEdmSpaceType(StructuralType) Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType.
Public method GetEntityContainer(String, DataSpace) Returns an EntityContainer object by using the specified entity container name and the data model.
Public method GetEntityContainer(String, Boolean, DataSpace) Returns an EntityContainer object by using the specified entity container name and the data model.
Public method GetFunctions(String, String, DataSpace) Returns all the overloads of the functions by using the specified name, namespace name, and data model.
Public method GetFunctions(String, String, DataSpace, Boolean) Returns all the overloads of the functions by using the specified name, namespace name, and data model.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetItem<T>(String, DataSpace) Returns an item by using the specified identity and the data model.
Public method GetItem<T>(String, Boolean, DataSpace) Returns an item by using the specified identity and the data model.
Public method GetItemCollection Gets MetadataWorkspace items.
Public method GetItems(DataSpace) Gets all the items in the specified data model.
Public method GetItems<T>(DataSpace) Gets all the items in the specified data model.
Public method GetObjectSpaceType(EnumType) Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.
Public method GetObjectSpaceType(StructuralType) Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.
Public method GetPrimitiveTypes Returns the list of primitive types in the specified data model.
Public method GetRelevantMembersForUpdate Returns members of a given EntitySet/EntityType for which original values are needed when modifying an entity.
Public method GetRequiredOriginalValueMembers Obsolete. Gets original value members from an entity set and entity type.
Public method GetType() Gets the Type of the current instance. (Inherited from Object.)
Public method GetType(String, String, DataSpace) Returns an EdmType object by using the specified type name, namespace name, and data model.
Public method GetType(String, String, Boolean, DataSpace) Returns an EdmType object by using the specified type name, namespace name, and data model.
Public method LoadFromAssembly(Assembly) Loads metadata from the given assembly.
Public method LoadFromAssembly(Assembly, Action<String>) Loads metadata from the given assembly.
Public method RegisterItemCollection Registers the item collection with each associated data model.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetEdmSpaceType(EnumType, EnumType) Returns a EnumType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType.
Public method 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.
Public method TryGetEntityContainer(String, DataSpace, EntityContainer) Returns an EntityContainer object by using the specified entity container name and the data model.
Public method TryGetEntityContainer(String, Boolean, DataSpace, EntityContainer) Returns an EntityContainer object by using the specified entity container name and the data model.
Public method TryGetItem<T>(String, DataSpace, T) Returns an item by using the specified identity and the data model.
Public method TryGetItem<T>(String, Boolean, DataSpace, T) Returns an item by using the specified identity and the data model.
Public method TryGetItemCollection Tests the retrieval of MetadataWorkspace.
Public method TryGetObjectSpaceType(EnumType, EnumType) Returns a EnumType object via the out parameter objectSpaceType that represents the type that matches the EdmType supplied by the parameter edmSpaceType.
Public method 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.
Public method TryGetType(String, String, DataSpace, EdmType) Returns an EdmType object by using the specified type name, namespace name, and data model.
Public method TryGetType(String, String, Boolean, DataSpace, EdmType) Returns an EdmType object by using the specified type name, namespace name, and data model.
Top
Show:
© 2014 Microsoft