Table of Contents

Class AssortmentGroupRelation

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

Constructors

AssortmentGroupRelation()

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

AssortmentGroupRelation(Assortment)

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

Parameters

assortment Assortment
The assortment used in this relation.
See Also

AssortmentGroupRelation(Assortment, Group)

Initializes a new instance of the AssortmentGroupRelation class.
public AssortmentGroupRelation(Assortment assortment, Group group)

Parameters

assortment Assortment
The assortment used in this relation.
group Group
The group used in this relation.
See Also

AssortmentGroupRelation(IDataReader)

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

Parameters

dataReader IDataReader
The data reader containing the values used to fill the property values of this instance.
See Also

AssortmentGroupRelation(string)

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

Parameters

assortmentID string
The id of the assortment used in this relation.
See Also

AssortmentGroupRelation(string, string)

Initializes a new instance of the AssortmentGroupRelation class.
public AssortmentGroupRelation(string assortmentID, string groupID)

Parameters

assortmentID string
The id of the assortment used in this relation.
groupID string
The id of the group used in this relation.
See Also

Properties

Group

Gets the Group with the GroupID.
public Group Group { get; }

Property Value

Group
The group.
See Also

GroupID

Gets or sets the id of the Group associated with this AssortmentGroupRelation.
public string GroupID { get; set; }

Property Value

string
The group identifier.
See Also

Methods

Delete()

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

Delete(Assortment, Group)

Deletes the assortment relations by the specified assortment with the specified group.
[Obsolete("Use Services.Assortments.DeleteGroupAssortmentRelations instead.")]
public static void Delete(Assortment assortment, Group group)

Parameters

assortment Assortment
The assort to use to find AssortmentGroupRelations by to delete.
group Group
The group to use to find AssortmentGroupRelations by to delete.
See Also

Delete(Assortment, string)

Deletes the assortment relations by the specified assortment and group ID.
[Obsolete("Use Services.Assortments.DeleteGroupAssortmentRelations instead.")]
public static void Delete(Assortment assortment, string groupID)

Parameters

assortment Assortment
The assort to use to find AssortmentGroupRelations by to delete.
groupID string
The group id to use to find AssortmentGroupRelations by to delete.
See Also

Delete(Group)

Deletes the assortment relations by the specified group.
[Obsolete("Use Services.Assortments.DeleteGroupAssortmentRelations instead.")]
public static void Delete(Group group)

Parameters

group Group
The group to use to find AssortmentGroupRelations by to delete.
See Also

Delete(GroupCollection)

Deletes the assortment relations by the specified groups.
[Obsolete("Use Services.Assortments.DeleteGroupAssortmentRelations instead.")]
public static void Delete(GroupCollection groups)

Parameters

groups GroupCollection
The group to use to find AssortmentGroupRelations by to delete.
See Also

Delete(IEnumerable<AssortmentRelation>)

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

Parameters

assortmentRelations IEnumerable<AssortmentRelation>
The assortment group relations to delete.
See Also

Delete(IEnumerable<string>)

Deletes the assortment relations for the specified group IDs.
[Obsolete("Use Services.Assortments.DeleteGroupAssortmentRelations instead.")]
public static void Delete(IEnumerable<string> groupIDs)

Parameters

groupIDs IEnumerable<string>
The group ids to use to find AssortmentGroupRelations by to delete.
See Also

Delete(string)

Deletes the assortment relations by the specified group ID.
[Obsolete("Use Services.Assortments.DeleteGroupAssortmentRelations instead.")]
public static void Delete(string groupID)

Parameters

groupID string
The group id to use to find AssortmentGroupRelations by to delete.
See Also

Fill(IDataReader)

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

Parameters

dataReader IDataReader
The data reader containing the values used to fill the property values of this instance.
See Also

GetAssortmentRelationsByGroup(Group)

Gets the assortment relations by group.
[Obsolete("Use Services.Assortments.GetAssortmentRelationsByGroupId instead.")]
public static IEnumerable<AssortmentRelation> GetAssortmentRelationsByGroup(Group group)

Parameters

group Group
The group to use to find AssortmentGroupRelations by.

Returns

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

GetAssortmentRelationsByGroupID(string)

Gets the assortment relations by group ID.
[Obsolete("Use Services.Assortments.GetAssortmentRelationsByGroupId instead.")]
public static IEnumerable<AssortmentRelation> GetAssortmentRelationsByGroupID(string groupID)

Parameters

groupID string
The group id to use to find AssortmentGroupRelations by.

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