NHibernate interceptor magic tricks, pt. 3

The very last meeting with IInterceptor was ended by description of IInterceptor.GetEntityName(object entity); method. It's time to step into the kingdom of almighty DI and IoC and learn how to combine it with NHibernate. Instantiate me, now! Imagine that you have a dependency passed as your entity constructor. Or you have some methods or properties … Continue reading NHibernate interceptor magic tricks, pt. 3