A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class CatalogRelationManager

Implements operations for the catalog relation manager.

Inheritance
System.Object
CatalogRelationManager
Namespace: Mediachase.Commerce.Catalog.Managers
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public static class CatalogRelationManager : Object

Methods

DeleteRelationsOverArchiveBoundary()

Deletes relations referencing any of the specified catalog entry or catalog node ids.

Declaration
public static void DeleteRelationsOverArchiveBoundary()

GetNodeEntryRelations(IEnumerable<Int32>)

Gets the parent nodes for entries.

Declaration
public static CatalogRelationDto GetNodeEntryRelations(IEnumerable<int> catalogEntryIds)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> catalogEntryIds

The catalog entry ids.

Returns
Type Description
CatalogRelationDto

Entries (key) with it's parent nodes (value).

GetNodeEntryRelations(IEnumerable<Int32>, ReadMode)

Gets the parent nodes for entries.

Declaration
public static CatalogRelationDto GetNodeEntryRelations(IEnumerable<int> catalogEntryIds, ReadMode readMode)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> catalogEntryIds

The catalog entry ids.

ReadMode readMode

The read mode.

Returns
Type Description
CatalogRelationDto

Entries (key) with it's parent nodes (value).