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? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -