Hi, When a CollectionChanged with action Remove is fired, the Entity has IsRemove = true. Any access to the object cause the 'Entity is removed' Exception. We think that this is a bit too strict. When we get the object from DO we sometimes need the info in the object do determine which object we have to delete in our own list. We can however not reach this information because of the mentioned exception. Would it be possible to allow read-only access to the object? Regards Paul Sinnema Diartis AG |
I'm thinking about adding something like this:
Will this be enough to solve the problem? Hi Alex, We don't need and would even want to prevent write access to removed objects. So the getters are ok but the setters are forbidden. Regards Yep, that's exactly what this implies. Can't modify, but can read. So likely the flag must be renamed. Is this going to be in 3.4.4? Created & implemented: issue 855. Hi Alex, Can we download this somewhere? Regards Paul Not yet - installers will be updated on the end of this week (most likely, @ Saturday or Sunday). |