C# Code to Make the Main Entity Aware of the Sub Items

public class ProductBusinessEntity : EPS.Business.BusinessObjects.BusinessEntity { private ProductImagesCollection colImages = null; public ProductImagesCollection ProductImages { get { return this.colImages; } } protected override void LoadSubItemCollections() { this.colImages = ProductImagesCollection(this); this.colImages.SetTable(this.dsInternal.Tables("productimages")); } // Rest of class continues as in the previous example }

Back to Making the Main Entity Aware of the Sub Items


Last Updated: 8/10/2006