Should this work?

 _sessionFactory = Fluently.Configure(Configuration)
                            .Mappings(m =>
m.FluentMappings.AddFromAssembly(Assembly.Load("SR.Domain")))
                            .Mappings(m =>
m.HbmMappings.AddFromAssembly(Assembly.Load("SR.Domain")))
                            .ExposeConfiguration(c => c.SetInterceptor
(new IsTransientInterceptor()))
                            .BuildSessionFactory();

For some reason interceptor is not being called.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to