SaaS CMS has officially launched! Learn more now.

Class NodeRelationChange

Describes a change made to a node relation.

Inheritance
System.Object
NodeRelationChange
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
public class NodeRelationChange

Constructors

NodeRelationChange(ChangeType, Int32, Int32, Int32)

Initializes a new instance of the NodeRelationChange class.

Declaration
public NodeRelationChange(ChangeType changeType, int parentNodeId, int childNodeId, int catalogId)
Parameters
Type Name Description
ChangeType changeType

The type of change made to the relation.

System.Int32 parentNodeId

The id of the parent node in the relation.

System.Int32 childNodeId

The id of the child node in the relation.

System.Int32 catalogId

The id of the catalog in the relation.

Properties

CatalogId

The id of the catalog in the relation.

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

ChangeType

The type of change made to the relation.

Declaration
public ChangeType ChangeType { get; }
Property Value
Type Description
ChangeType

ChildNodeId

The id of the child node in the relation.

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

ParentNodeId

The id of the parent node in the relation.

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