This question is locked. New answers and comments are not allowed.
I'm working on a new client - server project where both the client and server application use OpenAccess ORM to access their data. The client however only has read rights to the database, so when he wants to change something, he sends a change request with the required information to the server.
The server makes the changes, and alerts all clients which objects have been changed, So they can update their local objects. The way I do this is by sending the type and objectId from each object in the Scope.Transaction.DirtyObjects property.
This works great when changing or creating new objects, however when deleting an object, apart from being marked as "deleted", it seems the objectId is also removed. This way I am unable to notify my clients of which object got removed.
Any suggestions on how i could improve my program design?
The server makes the changes, and alerts all clients which objects have been changed, So they can update their local objects. The way I do this is by sending the type and objectId from each object in the Scope.Transaction.DirtyObjects property.
This works great when changing or creating new objects, however when deleting an object, apart from being marked as "deleted", it seems the objectId is also removed. This way I am unable to notify my clients of which object got removed.
Any suggestions on how i could improve my program design?