Class AssortmentRelation
- Namespace
- Dynamicweb.Ecommerce.Assortments
- Assembly
- Dynamicweb.Ecommerce.dll
Assortment relation base class
[Serializable]
public abstract class AssortmentRelation
- Inheritance
-
AssortmentRelation
- Derived
- Inherited Members
Constructors
AssortmentRelation(AssortmentRelationType)
Initializes a new instance of the AssortmentRelation class.
protected AssortmentRelation(AssortmentRelationType relationType)
Parameters
relationType
AssortmentRelationTypeType of the relation.
AssortmentRelation(AssortmentRelationType, Assortment)
Initializes a new instance of the AssortmentRelation class.
protected AssortmentRelation(AssortmentRelationType relationType, Assortment assortment)
Parameters
relationType
AssortmentRelationTypeType of the relation.
assortment
AssortmentThe assortment.
AssortmentRelation(AssortmentRelationType, string)
Initializes a new instance of the AssortmentRelation class.
protected AssortmentRelation(AssortmentRelationType relationType, string assortmentID)
Parameters
relationType
AssortmentRelationTypeType of the relation.
assortmentID
stringThe assortment ID.
Properties
AssortmentID
Gets or sets the assortment ID.
public string AssortmentID { get; set; }
Property Value
- string
The assortment ID.
AutoID
Gets the automatic ID.
public int AutoID { get; protected set; }
Property Value
- int
The automatic ID.
Type
Gets the type of the relation.
public AssortmentRelationType Type { get; }
Property Value
- AssortmentRelationType
The relation type.
TypeName
Gets the name of the relation type.
public string TypeName { get; }
Property Value
- string
The name of the relation type.