Hi,
I'm using an UnitOfWork to save my entities. Everything works just fine
But when the save (process of unit of work) is done, I would like to get all adapted entities. I want to know which entities were inserted/updated/deleted to or from the persistent storage. I need these to send to our server (Genuine Channels) so this server can inform all clients that an entity has been changed and that they should update the object (and corresponding forms/screens) if they use the adapted entity.
I've been playing around with the UnitOfWork, but after the save I'm unable to access the deleted entities. Can you please help me out on this one and give me the best way to handle my problem.
The only alternative is that I use the GetCollectionElementsToDelete before I process the unit of work. But maybe there's a more elegant way to handle this 'problem'
The nicest solution for me would be an collection with all adapted entities, like uow.GetAllAdaptedEntities(), but I guess this is wishfull thinking
Kind regards
TomV