Class ShopGroupRelation
- Namespace
- Dynamicweb.Ecommerce.Shops
- Assembly
- Dynamicweb.Ecommerce.dll
Class represents relation object between the shop and the group
[Serializable]
public class ShopGroupRelation
- Inheritance
-
ShopGroupRelation
- Inherited Members
Constructors
ShopGroupRelation()
Initializes a new instance of the class
public ShopGroupRelation()
ShopGroupRelation(string, string)
Initializes a new instance of the class
public ShopGroupRelation(string shopId, string groupId)
Parameters
Properties
GroupId
Gets or sets the id of the group
public string GroupId { get; set; }
Property Value
ShopId
Gets or sets the id of the shop
public string ShopId { get; set; }
Property Value
Sorting
Sort order for related shops
public int Sorting { get; set; }
Property Value
Methods
Delete()
Removes all relations
public void Delete()
Delete(string, string)
Removes relations for the given group
public static void Delete(string shopId, string groupId)
Parameters
Save(string, string)
Saves the relation
public void Save(string shopId, string groupId)