Skip to:
In section "5.1.11. many-to-one" of the reference documentation, the "cascade" attribute has 2 conflicting posible values:
According to the summary of params:— cascade="all|none|save-update|delete|delete-orphan|all-delete-orphan"As seen in https://github.com/nhibernate/nhibernate-core/blob/master/doc/reference/modules/basic_mapping.xml#L1631
According to the notes below:— The cascade attribute permits the following values: all, save-update, delete, none.As seen in https://github.com/nhibernate/nhibernate-core/blob/master/doc/reference/modules/basic_mapping.xml#L1717-L1719
I think the first one is the the correct one. Because using github's blame I found that the summary was changed in the following commit: https://github.com/nhibernate/nhibernate-core/commit/3e4cf2a51b281b6c66e4363bd5ab4c3309257561So I think when he commited that he forgot to update the notes below.
In section "5.1.11. many-to-one" of the reference documentation, the "cascade" attribute has 2 conflicting posible values:
According to the summary of params:
— cascade="all|none|save-update|delete|delete-orphan|all-delete-orphan"
As seen in https://github.com/nhibernate/nhibernate-core/blob/master/doc/reference/modules/basic_mapping.xml#L1631
According to the notes below:
— The cascade attribute permits the following values: all, save-update, delete, none.
As seen in https://github.com/nhibernate/nhibernate-core/blob/master/doc/reference/modules/basic_mapping.xml#L1717-L1719
I think the first one is the the correct one. Because using github's blame I found that the summary was changed in the following commit: https://github.com/nhibernate/nhibernate-core/commit/3e4cf2a51b281b6c66e4363bd5ab4c3309257561
So I think when he commited that he forgot to update the notes below.