Dynamicweb 8 Documentation
GroupShopRelation Class
Members  Example 

Class for relation objects between shops and product groups
Syntax
'Declaration
 
<SerializableAttribute()> 
Public Class GroupShopRelation 
[SerializableAttribute()] 
public class GroupShopRelation 
Example
class MyPage : System.Web.UI.Page
{
   private GroupShopRelationCollection LoadGroupShopRelations()
   {
       GroupShopRelationCollection allRelations = new GroupShopRelationCollection();
       using (IDataReader relationReader = Database.CreateDataReader("SELECT * FROM EcomShopGroupRelation", "Ecom.mdb"))
       {
           while (relationReader.Read())
           {
               GroupShopRelation relation = new GroupShopRelation(relationReader);
               allRelations.Add(relation);
           }
       }
       return allRelations;
   }
}
Inheritance Hierarchy

System.Object
   Dynamicweb.eCommerce.Products.GroupShopRelation

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GroupShopRelation Members
Dynamicweb.eCommerce.Products Namespace

Send Feedback