I was wondering if there is a way to have a transaction on object. I'm asking this question for the following situation:
We pass our object to our dataaccesslayer. There we use transactionscope to make sure the database doesn't get corrupted.
In that process an object can be changed (datechanged, owner, ect ...). But if the transaction fails the transactionscope rollbacks the transactions in the database but not on your object.
This way your object (which is passed by reference) is kinda corrupted.
I hope there is a solution for this.