c# - Register multiple IInterceptor in nhibernate -
is there way register multiple iinterceptor in nhibernate
this dose not work in hhibernate 3.1.0.4000
config.setinterceptor(new contextawareinterceptor()); config.setinterceptor(new contextawarecommandinterceptor()); config.setinterceptor(new sqlinterceptor());
you can't. session can have 1 interceptor.
you should events instead.
Comments
Post a Comment