Hello,
First I want to say that your framework is very nice. Second, I am new to this whole structure, sorry for any wrong statement.
My question is, does the framework support multiple sessions ? If yes, how can I do that?
I mean, my WebSite have two or more connection string, how can I implement that using the NHibernate and DI ?
I did something like the sample "PhoneBook", creating two "xDependencyInstaller", where I created my "CreateNhSessionFactory" there, but when I use two connection string I got an error by castle ioc, saying that I can´t register same assembly (SessionFactory) more than once.
Now I am trying to use like the "SimpleTaskSystem" sample, but I don´t know how to achieve my goals .
PS: I am trying to change the framework to work with nhibernate map by code, so I dont need to use Fluent.
Thanks. Bruno