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: 10.8.0
Syntax
public class CatalogEntryChange : IEquatable<CatalogEntryChange>
Remarks

For internal use only.

Constructors

CatalogEntryChange(Int32, Guid, String)

Declaration
public CatalogEntryChange(int catalogEntryId, Guid applicationId, string catalogEntryCode)
Parameters
Type Name Description
System.Int32 catalogEntryId
System.Guid applicationId
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

ApplicationId

The application ID of the catalog entry that has changed.

Declaration
public Guid ApplicationId { get; }
Property Value
Type Description
System.Guid

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>