2009/3/4 Stefan Steinegger <[email protected]> > > var attachedObject = session.Merge(detachedObject); > Assert.IsTrue(session.Contains(attachedObject)); > > Don't use attachedObject anymore, it is not in the session an must not > be referenced by any attached instance. > > I don't really understand why you use Detach. You should not use > Detach,
It depend for what you are using Merge... StaleObjectStateException ? ;) -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
