Meta Data Services Programming

Workspace Context

When you operate within a workspace, the workspace provides a specific context for your work. That context includes both the Versions collection and the Checkouts collection for that workspace. If an object version is not part of either of these collections, it is not part of the context for that workspace.

The behavior of a repository method can vary depending on whether you invoked the method from within the context of a workspace or from within the more general context of a repository instance. For example, if you materialize the ObjectInstances collection for a class, the collection can consist of two different sets of items:

Similarly, if you invoke get_Object, two different things can happen:

See Also

Establishing Workspace Context

Kinds of Version Collections

Managing Workspaces

Resolution Strategy for Objects and Object Versions

Retaining Workspace Context