pandu wrote:
It does work Frans.
The problem is that I need to edit this Dynamic List... (Oh.. I can hear your "You cannnn't do that.. ".. )
What If I need to edit the Dynamic List? How do I convert this to an EntityCollection? So that, i can bind it to a Grid to get the Batch Input. In other words, It won't save to the real table until I click a Save All Button.
Hope I didn't confuse you.
Grouped data (created with a group by clause) is data which is added/subtracted etc.. To edit that you need to convert the data back to 1 or more entities, which always has to be done in custom code but again: it doesn't make any sense. It's like altering an Order total and then saving the changed total back into 5 order row entities.
Editing a non-grouped set of data can be done in entities (prefered) or by fetching the entities afterwards based on the PK's in the list. Then set the values in the entities loaded and save them again.