I don't know where the ISessionFactoryHolder interface or implementation is, 
but the session factory should be a singleton. whether you manage this 
through an IOC or your own code you effectively want

static readonly ISessionFactory factory = new 
Configuration().Configure().BuildSessionFactory();

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/castle-project-users/-/YeJ0y_Gsni8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to