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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -