Dynamicweb.eCommerce.Products Namespace : GroupShopRelationCollection Class |
'Declaration
<SerializableAttribute()> Public Class GroupShopRelationCollection Inherits System.Collections.ObjectModel.Collection(Of GroupShopRelation)
[SerializableAttribute()] public class GroupShopRelationCollection : System.Collections.ObjectModel.Collection<GroupShopRelation>
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; } }
System.Object
System.Collections.ObjectModel.Collection<T>
Dynamicweb.eCommerce.Products.GroupShopRelationCollection
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