Class Association
Describes an association of a catalog entry eg an accessory, up-sell or cross-sell product etc.
Inheritance
System.Object
Association
Implements
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: EPiServer.Commerce.Catalog.Linking
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public class Association : ILink
Constructors
Association()
Declaration
public Association()
Properties
Group
Gets or sets the association group.
Declaration
public AssociationGroup Group { get; set; }
Property Value
Type | Description |
---|---|
AssociationGroup |
SortOrder
The sort order of the association
Declaration
public int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Source
Gets or sets the source of the association (the item that has the association, e.g. a catalog entry for which we want to recommend accessories).
Declaration
public ContentReference Source { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Core.ContentReference |
Target
Gets or sets the target of the association (the item we're associating to, e.g. an accessory to the Source product).
Declaration
public ContentReference Target { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Core.ContentReference |
Type
Gets or sets the type of the association.
Declaration
public AssociationType Type { get; set; }
Property Value
Type | Description |
---|---|
AssociationType |