NHibernate version: 1.2.1GA
DB: SQL Server 2005
Visual Studio 2008 on .Net 3.5 with a dash of WCF and ASP.Net thrown into the mix :)
I'm interested in dynamically setting the database to be connecting to, how would this be done? We'll be taking in an ID, and depending on that ID, I'd like to pull the DB name out of a configuration file, and then have all operations happen on that specific DB.
Also, somewhat unrelated, what's the best designer to use in conjunction with NHibernate? I'd prefer something that integrated into Visual Studio (if possible). I'd like to avoid writing the XML by hand.
|