NHibernate Cascades: the different between all, all-delete-orphans and(ayende.com)
submitted by
ferventcoder(836) 2 years, 8 months ago
NHibernate Cascades:
Entities has assoications to other objects, this may be an assoication to a single item (many-to-one) or an assoication to a collection (one-to-many, many-to-any).
At any rate, you are able to tell NHibernate to automatically traverse an entity's assoications, and act according to the cascade option. For instnace, adding an unsaved entity to a collection with save-update cascade will cause it to be saved along with its parent object, without any need for explicit instructions on our side.
|category: Open Source
|Views: 43
tags:
OpenSource another
Everyones tags:
Your Tags: