Cascade All-Delete-Orphan with OneToOne

30 views
Skip to first unread message

Edno Silva

unread,
Nov 28, 2016, 5:50:04 AM11/28/16
to Fluent NHibernate
Hello everyone,

The new version of NHibernate (4.1.0-CR1) has a new Cascade option in OneToOne relationships: all-delete-orphan (https://nhibernate.jira.com/browse/NH-1262).
Could you please add this option to Fluent NHIbernate?

Thanks,

Edno Silva.

mwpowellhtx

unread,
Nov 30, 2016, 12:18:35 AM11/30/16
to Fluent NHibernate
Usually I just map properties as though it were one to many, with special properties for the business cases you described. 

Thanks,

Edno Silva.

Gleb Chermennov

unread,
Nov 30, 2016, 4:49:02 AM11/30/16
to Fluent NHibernate
That can be done. I would accept a pull request :), or may be I can look into it next Month

понедельник, 28 ноября 2016 г., 13:50:04 UTC+3 пользователь Edno Silva написал:
Reply all
Reply to author
Forward
0 new messages