Export (0) Print
Expand All

CatalogContext Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The CatalogContext class contains the functionality to manage the catalog and inventory systems. This class cannot be inherited.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

public sealed class CatalogContext : CatalogObjectBase

CatalogContext is the root object for the Catalog System. It is a thread-safe and stateless object. A single instance should be created and reused for the lifetime of the application.

This class is the single entry point class. It provides methods to create an instance of the CatalogContext class in either the Web service mode or the local server mode. When initialized in the Web service mode, subsequent method invocations on this instance will use the Catalog Web service to perform the actions. When initialized in the local server mode, subsequent method invocations on this instance will perform the directly against the catalog database.

System..::.Object
  Microsoft.CommerceServer.Catalog..::.CatalogObjectBase
    Microsoft.CommerceServer.Catalog..::.CatalogContext

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