Joined: Wed Jun 04, 2008 10:51 am Posts: 1 Location: England
|
Hi,
Having looked at NHibernate briefly its evident that to save an Entity you would call;
session.Save(Entity)
I would like to know how you can save multiple entities at the same time.These will most of the time be child entities, however sometimes they will be orphan.
Other persistence engines I have seen generate Entity and EntityCollection objects. With these you could do something like the following;
session.Save(EntityCollection)
This would automatically handle inserts/updates/deletes. Is there something similar in NHiberate that would help me do this?
|
|