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
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()
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public class CatalogEntryChange : IEquatable<CatalogEntryChange>
Constructors
CatalogEntryChange(Int32, Guid, String)
Declaration
[Obsolete("The concept of ApplicationID has been removed. Use constructor without applicationId parameter. Will remain at least until August 2018.")]
public CatalogEntryChange(int catalogEntryId, Guid applicationId, string catalogEntryCode)
Parameters
| Type |
Name |
Description |
| System.Int32 |
catalogEntryId |
|
| System.Guid |
applicationId |
|
| System.String |
catalogEntryCode |
|
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
ApplicationId
The application ID of the catalog entry that has changed.
Declaration
[Obsolete("The concept of ApplicationID has been removed - ignore this property. Will remain at least until August 2018.")]
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
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>