This documentation is archived and is not being maintained.

GlobalItem Class

Represents the base item class for all the Entity Data Model (EDM) types and the entity containers.

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public ref class GlobalItem abstract : public MetadataItem

For more information, see Metadata Type Hierarchy Overview.

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).

No code example is currently available or this language may not be supported.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5 SP1