I have a virtual method on my Entity base class which calls
session.SaveOrUpdate. When the entity has lazy fields, the
DefaultDynamicLazyFieldInterceptor calls the virtual method with the
TargetInstance and not the info.Target. This means that SaveOrUpdate
fails with a NonUniqueObjectException because I'm not passing the
proxy to SaveOrUpdate.

Is this behavior correct? If so, is there a way around this?

Reply via email to