NHibernate’s listeners architecture bring with it a lot of power to the game, but understanding how to use it some of the listeners properly may require some additional knowledge. In this post, I want to talk specifically about the pre update hooks that NHibernate provides. Those allow us to execute...
Two assertions: I like the dirty check of NHibernate because I can work without worry about explicit updates. I don’t like the dirty check of NHibernate because I can’t have full control about updates and the dirty-check, in my application, is slow. Both true ? Can we implements something...
What can I do if instead of physically delete a record in the database I just want to mark it as deleted? There are at least two possibilities to achieve the desired result put the necessary logic into the repository Write and register a DeleteEvent-Listener for NHibernate The Domain Model Let's...