Reputation: 85875
I am wondering how do you setup in fluent nhibernate to tell that a relationship should NOT "Enforce Foreign Key Constraints"
http://gyazo.com/6a1cf3014b0650eb3ff5e05f855abf69
Do you just set the reference to Nullable?
Upvotes: 3
Views: 563
Reputation: 5033
In FluentNHibernate, 'NotFound.Ignore()' might do what you need, eg:
References(x => x.Parent).NotFound.Ignore();
Upvotes: 1