Having a schema convention is probably the easiest and quickest way to
perform queries across dbs on the same server.
When this assumption cannot be made, I've ended up with a
SessionFactory for each db
Sh#rp Architecture has some helper classes for supporting multiple
SessionFactories (by key) - you can simply decorate your repositories
with the following attribute, specifying which session factory key
should be used.
[SessionFactory("FactoryKeyNameGoesHere")]
public class CourseRepository :
NHibernateRepository<Course>, ICourseRepository, IDisposable
{ }