As you said, you have already worked with single database and NHibernate, I do not think any specific code is needed. Its same, just multiple session factory instances. Anyway, I have copied my code at the end of answer.




Using Multiple NHibernate Session Factories