Determine if Object is Marked For Deletion
407521Dec 16 2004 — edited Dec 17 2004Hello,
How can I determine if an object is marked for deletion in a UnitOfWork? Is there a UnitOfWork method I can use to determine this?
I am querying for an object that may have been deleted in the current UnitOfWork. I am trying to avoid conforming the results of the query so I can avoid hitting the database, but I must make sure I don't find objects that are marked for deletion.
Any suggestions are appreciated.