--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/hsLkjIfdUYQJ.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/hsLkjIfdUYQJ.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
So you already have EntityB in the database and what you are trying to
do is similar to
a.EntityB = session.Load<EntityB>(bId);
session.Save(a);
except that you want (NHibernate) to find the EntityB instance by the
value of the property used as property-ref, instead of by primary key.
Is this a correct understanding?
/Oskar
RP