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

Class CatalogEntryChange

This is a placeholder class to signal changes in catalog entries to the event system, until work has been done to allow us to listen for changes on the actual data objects. This class is only to accelerate development of the improved catalog indexing, and any use of this of this class will eventually need to be replaced.

Inheritance
System.Object
CatalogEntryChange
Implements
System.IEquatable<CatalogEntryChange>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class CatalogEntryChange : IEquatable<CatalogEntryChange>
Remarks

For internal use only.

Constructors

CatalogEntryChange(Int32, String)

Declaration
public CatalogEntryChange(int catalogEntryId, string catalogEntryCode)
Parameters
Type Name Description
System.Int32 catalogEntryId
System.String catalogEntryCode

CatalogEntryChange(String)

Creates a catalog entry change object from a string that has been retrieved from an event queue.

Declaration
public CatalogEntryChange(string queuedString)
Parameters
Type Name Description
System.String queuedString

The string from the queue.

Properties

CatalogEntryCode

The catalog entry code of the catalog entry that has changed.

Declaration
public string CatalogEntryCode { get; }
Property Value
Type Description
System.String

CatalogEntryId

A key for the catalog entry that has changed.

Declaration
public int CatalogEntryId { get; }
Property Value
Type Description
System.Int32

Methods

Equals(CatalogEntryChange)

Declaration
public bool Equals(CatalogEntryChange other)
Parameters
Type Name Description
CatalogEntryChange other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

GetQueueableString()

Serializes the change to a string suitable for storing in an event queue, and deserializing with the constructor taking a single string argument.

Declaration
public string GetQueueableString()
Returns
Type Description
System.String

A serialized version of this object.

Implements

System.IEquatable<T>