The CatalogContext class contains the functionality to manage the catalog and inventory systems. This class cannot be inherited.
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
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.