Filtering a Readonly BO

Filtering a Readonly BO

Old forum URL: forums.lhotka.net/forums/t/1829.aspx


cash_pat posted on Friday, November 24, 2006

Hi,

I have a BO collection called ItemList which contains another BO collection of Rates of different vendors.
How do you suppose i can filter the parent Bo for a particular supplier


  ItemList               --------------> ReadonlyCollection
     
           ItemCode
           SaleRate
        
           PurchaseRatesBO - --------------> ReadonlyCollection
                  SupplierID   
                  PurchaseRate
     

How do I filter ItemList so that it contains items from a particular supplier. Any sample code would be nice.

regards

Cash pat

Copyright (c) Marimer LLC