Does anyone know if it's possible with NHibernate to save a transient
child entity, which in the database must be mapped with its parent's
ID, but in the model is not aware of its parent?

It is a 1:* relationship between the parent and children, where in the
model the parent contains a collection of the children, but the
children do not know who their parent is.

We are working detached, so that a session is opened separately for
each read or write operation.

I don't want to call an Update on the parent entity, because, being
detached, it will delete and resave all its child entities (of which
there may be very many).

Thanks ahead for any help

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to