Try our conversational search powered by Generative AI!

Class CatalogAssociationChange

This is a placeholder class to signal changes in catalog associations 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
CatalogAssociationChange
Implements
System.IEquatable<CatalogAssociationChange>
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 CatalogAssociationChange : IEquatable<CatalogAssociationChange>
Remarks

For internal use only.

Constructors

CatalogAssociationChange(Int32, String, String, Int32, Int32)

Initializes a new instance of the CatalogAssociationChange class.

Declaration
public CatalogAssociationChange(int id, string name, string description, int catalogEntryId, int sortOrder)
Parameters
Type Name Description
System.Int32 id

The catalog association identifier.

System.String name

Name of the association.

System.String description

The association description.

System.Int32 catalogEntryId

The catalog entry identifier.

System.Int32 sortOrder

The sort order.

Properties

CatalogEntryId

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

Description

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

Id

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

Name

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

SortOrder

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

Methods

Equals(CatalogAssociationChange)

Indicates whether the current object is equal to another object of type CatalogAssociationChange.

Declaration
public bool Equals(CatalogAssociationChange other)
Parameters
Type Name Description
CatalogAssociationChange other

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Determines whether the specified System.Object, is equal to this instance.

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

The System.Object to compare with this instance.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Returns a hash code for this instance, which is based on the Id.

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

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.Object.GetHashCode()

Implements

System.IEquatable<T>