nhibernate hasmany to many

When doing a hasManyToMany relationship, SO makes a few observations

In a many-to-many relationship if collections on both entities aren’t populated, NHibernate doesn’t persist data to the link table.
Set Cascade.All()
Use Flush

So it looks like you dont need it on both sides, but you atleast need the cascade and the flush.
damn it looks like nhibernate isnt toilet trained! or its helping us to be


Warning: count(): Parameter must be an array or an object that implements Countable in /home/cselian/public_html/blog/wp-includes/class-wp-comment-query.php on line 405

Leave a Comment