In my application, users cannot truly delete entries. Rather, the โRemoteโ field sets the value to 1, which hides it from selection.
I need to support this behavior, and I am studying whether NHibernate is suitable for my application. Can I redefine NHibnernate's deletion behavior so that instead of issuing DELETE statements it will issue UPDATES as described above?
I also need to clearly redefine its behavior SELECT, to include a sentence < AND Deleted = 0 . Or read from the presentation. I'm not sure.
source share