Nhibernate Wcf and single ISession (with WCF Behavior)

added by sneddo
1/18/2013 3:34:47 AM

0 Kicks, 99 Views

Intercept WCF calls to setup the NHibernate GetCurrentSession so you can make use of a single ISession per request all handled by NHibernate. Add a custom WCF behavior and implement IDispatchMessageInspector.