Hi
I am using llblgen v 4.1.0.0
I have a question regarding the “UpdateEntitiesDirectly” method of the adapter. I want to update a tree of 3 tables. For example:
1. The first table is the Clients table with primary key IdClient
2. The second table is the Orders table with primary key IdClient and IdOrders
3. And finally the third table is the OrdersList table with primary key IdOrders and IdOrdersList
For the first table I can use the following in order to update the table directly
var bucket = new RelationPredicateBucket(ClientsFields.IdClient == 1);
..
adapter.UpdateEntitiesDirectly(clientEntity, bucket);
For the second table I can also use a similar approach
var bucket = new RelationPredicateBucket(OrdersFields.IdClient == 1);
..
adapter.UpdateEntitiesDirectly(orderEntity, bucket);
My question is how can I update directly the third table (OrdersList) without fetching all the IdOrders?
Is there a way to create a relationship in the RelationPredicateBucket between the Orders table and the OrdersList table so I can directly update the OrdersList table?
Regards
Dimitris