NHibernate Many to Many delete all my data in the table
- by Daoming Yang
I would love to thank @Stefan Steinegger and @David helped me out yesterday with many-to-many mapping.
I have 3 tables which are "News", "Tags" and "News_Tags" with Many-To-Many relationship and the "News_Tags" is the link table.
If I delete one of the news records, the following mappings will delete all my news records which have the same tags.…