November Happy Hour will be moved to Thursday December 5th.

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
System.Object
CatalogContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
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

true to delete all versions; false to update versions if content models are available.

MetaDataContext

Gets or sets the meta data context.

Declaration
public static MetaDataContext MetaDataContext { get; set; }
Property Value
Type Description
MetaDataContext

The meta data context.