Table of Contents

Class AssortmentShopRelation

Namespace
Dynamicweb.Ecommerce.Assortments
Assembly
Dynamicweb.Ecommerce.dll
Assortment shop relation class
[Serializable]
public class AssortmentShopRelation : AssortmentRelation
Inheritance
AssortmentShopRelation
Inherited Members

Constructors

AssortmentShopRelation()

Initializes a new instance of the AssortmentShopRelation class.
public AssortmentShopRelation()
See Also

AssortmentShopRelation(Assortment)

Initializes a new instance of the AssortmentShopRelation class.
public AssortmentShopRelation(Assortment assortment)

Parameters

assortment Assortment
The assortment.
See Also

AssortmentShopRelation(Assortment, Shop)

Initializes a new instance of the AssortmentShopRelation class.
public AssortmentShopRelation(Assortment assortment, Shop shop)

Parameters

assortment Assortment
The assortment.
shop Shop
The shop.
See Also

AssortmentShopRelation(IDataReader)

Initializes a new instance of the AssortmentShopRelation class.
[Obsolete("This method is no longer used.")]
public AssortmentShopRelation(IDataReader dataReader)

Parameters

dataReader IDataReader
The data reader.
See Also

AssortmentShopRelation(string)

Initializes a new instance of the AssortmentShopRelation class.
public AssortmentShopRelation(string assortmentID)

Parameters

assortmentID string
The assortment ID.
See Also

AssortmentShopRelation(string, string)

Initializes a new instance of the AssortmentShopRelation class.
public AssortmentShopRelation(string assortmentID, string shopID)

Parameters

assortmentID string
The assortment ID.
shopID string
The shop ID.
See Also

Properties

Shop

Gets the shop.
public Shop Shop { get; }

Property Value

Shop
The shop.
See Also

ShopID

Gets or sets the shop ID.
public string ShopID { get; set; }

Property Value

string
The shop ID.
See Also

Methods

Delete()

Deletes this instance.
[Obsolete("Use Services.Assortments.DeleteAssortmentRelation instead.")]
public override void Delete()
See Also

Delete(Assortment, string)

Deletes the assortment relations by the specified assortment, shop ID.
[Obsolete("Use Services.Assortments.DeleteAssortmentRelations instead.")]
public static void Delete(Assortment assortment, string shopID)

Parameters

assortment Assortment
The assortment.
shopID string
The shop ID.
See Also

Delete(IEnumerable<AssortmentRelation>)

Deletes the assortment relations.
[Obsolete("Use Services.Assortments.DeleteAssortmentRelations instead.")]
public static void Delete(IEnumerable<AssortmentRelation> assortmentRelations)

Parameters

assortmentRelations IEnumerable<AssortmentRelation>
The assortment relations.
See Also

Fill(IDataReader)

Fills the assortment shop relation properties from the specified data reader.
[Obsolete("This method is no longer used.")]
public override void Fill(IDataReader dataReader)

Parameters

dataReader IDataReader
The data reader.
See Also

GetAssortmentRelationsByShop(Shop)

Gets the assortment relations by shop.
[Obsolete("Use Services.Assortments.GetAssortmentRelationsByShopId instead.")]
public static IEnumerable<AssortmentRelation> GetAssortmentRelationsByShop(Shop shop)

Parameters

shop Shop
The shop.

Returns

IEnumerable<AssortmentRelation>
IEnumerable(Of AssortmentRelation).
See Also

GetAssortmentRelationsByShopID(string)

Gets the assortment relations by shop.
[Obsolete("Use Services.Assortments.GetAssortmentRelationsByShopId instead.")]
public static IEnumerable<AssortmentRelation> GetAssortmentRelationsByShopID(string shopID)

Parameters

shopID string
The shop ID.

Returns

IEnumerable<AssortmentRelation>
IEnumerable(Of AssortmentRelation).
See Also

Save()

Saves this instance.
[Obsolete("Use Services.Assortments.SaveAssortmentRelation instead.")]
public override void Save()
See Also

See Also

To top