I'm using Business Objects Collections.
(Not using datasets. Generics collections only.)
Collections of Business objects are filled using SQL Reader
I'd like to know your opinion what is best approach to fill master details (or parent-child) collections
Assume I have 2 objects: Invoice and Invoice_Details
Invoice Object has generic collection "Details" (type of Invoice Details)
What would be best approach to work / fill both collections?
(Eg I'd like to read all invoices from 2008 yr and present on GUI)
- Do you read all invoices for selected date range, than all children and populate proper Invoice's Details
- Or read invoice one by one and related details? (eg using multiply result sets)
- I've also noticed approach based on Binding Source -> read children only when changing current record position...
I'm very interested your opinion what would be best / fastest scenario?