I saw 7.2 and I thought our versions where the same but you are 7.2.2 while I'm still using 7.2.1. Anyway I can see things now and what you've done looks really good - I will certainly take a much closer look because the inbuilt Parent/Child stuff in DevExpress always seemed like a very clean UI to me. A couple of questions though:
1) When I look in the code I see only boCustomer is exposed. Could all the bo's be dropped on the form and everything would work ok?
2) In the screen shots I see the SF toolbar is on the form. Does that work ok in whatever grid view has focus?
3) I take it the general flow is the BOs are populated as normal and, within DataSetBase (very clever BTW), the relations are created (using info from the BOs) and the data loaded for use in the various grids. If this is so how do changes in DsCustomerOrders dataset make their way back into the BO's for saving to the database?
Cheers, Peter
Again, thanks for the very prompt response - much appreciated.
I'm not sure why would have an issue unless maybe you have a different version of Dev Ex installed. maybe if you remove and re-add the dev ex references it will work.
Anyways what I did was create a class that inherits from dataset so I can then drag and drop business objects onto it and it adds them to the dataset so you end up with a typed datset with relations etc. So far it works well for me I am not doing any zillion recrods grids or reports so there could be some issues.
Now I have a typed data set in my toolbar that contains whatever business objects I dropped onto it. I can then drag and drop it onto a form or report and use it as a data source.
If I drop it on a form with a Dev Ex grd I can assign it as the data source
and datamember
The end result is a grid with master child navigation
or a report with child bands
I didn't understand what Chan was getting at so I couldn't help but I certainly have an interest in Master/Detail and DevExpress so I was keen to see what you have done. I opened the project but it gave me an error (illegal form or some such thing). Paul would you be good enough just to post a screen shot of what the form looks like.
Robin Giltner
Here is how I am doing it.