I have an ASP page where I want to add/edit/delete and entity and its children all at once. Taking the example of an order and order-detail entities, I have two data grids and two detail views, bound to two llblgen data source objects.
Obviously one data source is bound to the order entities and a grid view and detail view is bound to it. The second grid view and detail view are nested inside the details view control. And show the order-details entity collection.
When I perform an add/edit operation on the order entity, I want to be able to add/update/delete order-details, and perform the save operation for all of them when I save the order entity.
As I have said I am using two llblgen data source controls for the parent and child. I was looking at a way to enable the transaction to work across both the data sources so that the entity and related children get saved on the PerformWork event.