Hi, As for disconnected entities use according method, refresh to reload object, lock to be more specific, not saveorupdate.
I think you use Flushmode = FlushMode.Auto, consider using FlushMode.Commit as it will not flush the changes before the commit of the transaction happens, so no more auto flush on the query part. This should work. Kind Regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
