Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does inverse and cascade means in NHibernate

I'm learning Fluent Nhibernate and my question is:
What does Inverse mean? I read that it means that the other side of the relationship is responsible for the saving, and so does Cascade,

Can someone please explain what are the differences between them? Please explain in details because I'm a newbie at NH.

like image 905
gdoron is supporting Monica Avatar asked Feb 03 '11 08:02

gdoron is supporting Monica


1 Answers

Have a look at this text (link down, here's a mirror on archive.org), the "inverse" attribute is explained in detail.

The different cascade options are well explained by Ayende himself in his blog.

A good and recommended read is "NHibernate in Action", while not an easy text, this will cover a lot of your questions.

like image 95
kay.herzam Avatar answered Sep 26 '22 19:09

kay.herzam