All entries for Friday 02 September 2005
September 02, 2005
Has anyone seen aggregate lists anywhere before?
What I mean is given multiple of lists of a business objects (of the same type), I want to have a list that contains all the objects from all the lists. Of course I require any changes in the source lists to be reflected in the aggregate list.
I've done some quick Googling, but found nothing in this area.
I may extend my BindingListView
Example of use:
Say I have 10 Customer objects and each customer has a list of Order objects. I want a form that displays all the orders from all customers (and lets me filter/sort the data). I don't really want to have extra code and queries that pull back a separate list of orders, since I want changes made to be put into the actual Customer's order item.
So an aggregate list of the existing Order lists would work great.