Using LLBLGEN databinding with master-detail-detail

Posts   
 
    
Alfredo avatar
Alfredo
User
Posts: 46
Joined: 12-Dec-2004
# Posted on: 29-Jun-2005 01:49:52   

Hi,

I have an application which must allow the user to edit a set of tables in master-detail-detail fashion. For example, let's say that we need to build a form that will allow you to edit a structure such as:

Customer Orders Order Details

where each one of this entities need to be bound to different grids.

The problem arises with the last entity (OrderDetails). When I inspect the data source/data member properties, they only show two levels deep (Customer and Orders). It doesn't show the Order Details data member for the collection.

What is the recommended way to solve this problem? With an additional EntityCollection managed by the application?

Thanks

Alfredo

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 29-Jun-2005 11:02:31   

You should manually bind the orderdetails based on the selected order in the order grid. I do that too in the Northwind example app simple_smile .

Frans Bouma | Lead developer LLBLGen Pro