Class CatalogContext
Catalog Context class is an entry point for all calls that are made to the catalog system. This class can be used for either remote or local usage.
Inheritance
Inherited Members
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class CatalogContext
Constructors
CatalogContext()
Declaration
public CatalogContext()
Properties
Current
Gets the current.
Declaration
public static ICatalogSystem Current { get; }
Property Value
Type | Description |
---|---|
ICatalogSystem | The current. |
DisableVersionSync
Gets the value of the DisableVersionSync appSetting, indicating whether an update to Catalog content done outside the Content APIs will remove any version data (e.g. drafts, old published versions...) for the affected Content. Setting this to true can improve the speed of batch operations done through the lower-level API:s (like ICatalogSystem), e.g. the catalog import.
Declaration
public static bool DisableVersionSync { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MetaDataContext
Gets or sets the meta data context.
Declaration
public static MetaDataContext MetaDataContext { get; set; }
Property Value
Type | Description |
---|---|
MetaDataContext | The meta data context. |