Otis wrote:
Because all actions are seen as 1 atomic action: Commit. So if Commit succeeds, all actions were succesful, so IMHO it's not of any value to know each individual action was succesful. Or do you mean something else?
I think Frans is right about the commit being an atomic action, but it would be nice to have some more info just before the commit if called.
I do not know if Omar is thinking of the same type of situation, but this is the situation i'm facing at the moment:
I fetch a lot of data from a number of tables, do a lot of complicated processing and then save the updated/inserted entities.
Now, I want to write some statistics to a log:
Invoices:
-- 524 inserted
-- 135 updated
-- 12 unchanged
This is also an issue with the EntityCollection, since i only have a Count property (and the DirtyEntities.Count).