Represents the base item class for all the Entity Data Model (EDM) types and the entity containers.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The following code sample demonstrates how to get a metadata workspace from the connection and then use that metadata workspace to browse the metadata type hierarchy. Note that the metadata workspace is a runtime service component that provides support for retrieving metadata.
The code sample uses a CSpace and a SSpace to specify the model. The CSpace represents the default name for the conceptual model. The SSpace represents the default name for the storage model. The code sample uses the AdventureWorks model that is provided in the Adventure Works Model (EDM) topic. For an example of the application config file, see Adventure Works Object Model in Applications (EDM).
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.