On 7/27/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
On 7/26/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> And with the changes to ToManyList, I've now been able to see that
> removedFromUnresolved contains a reference to my deleted object.
I'm now thinking that the solution to this problem is to not add NEW
or TRANSIENT objects to the removedFromUnresolved list. These
objects will never be removed from a database fetch list as they don't
exist in the database, so there's no point in keeping a reference to
them.
Ok. I'm starting to second-guess myself. Are there cases when a
transient object might be in the database? What if a committed
object is unregistered from the DataContext? Maybe it's not really
worth worrying about since unregistering objects is pretty rare.