Table of Contents

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

shopId string
The id of the shop
groupId string
The id of the group

Properties

GroupId

Gets or sets the id of the group
public string GroupId { get; set; }

Property Value

string

ShopId

Gets or sets the id of the shop
public string ShopId { get; set; }

Property Value

string

Sorting

Sort order for related shops
public int Sorting { get; set; }

Property Value

int

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

shopId string
The id of the shop
groupId string
The id of the group

Save(string, string)

Saves the relation
public void Save(string shopId, string groupId)

Parameters

shopId string
The id of the shop
groupId string
The id of the group
To top