sergey wrote:
No, this feature is not present in NHibernate currently.
Okay, I see. Actually I found a solution that helps me to do what I want without using triggers. I created a View which uses LEFT OUTER JOIN to merge tables and I can automatically put the value NULL to Parent Id column in all Child rows. But now I have a different problem, 'cause I had to change the value of a TABLE attribute in mapping file to table view. So now it is impossible for me to insert records of type Child. Can I somehow tell NHibernate that he must use my table view for fetching records and original table for inserting/updating?