Using: NHibernate 2.0, MSSQLServer 2005, ASP.NET 3.5, C#
Hi,
I'm trying to make a central editor for all our customers, which have all the same database.
so all my mappings for all projects will constantly be the same.
Since the amount of customers is not fixed (some can be deleted, some can be added), a list of all projects, along with their connectionstrings are saved in a master database.
Is it possible to create something that can use the same mappings, classes with another sessionmanager (or whatever i need to make it work, i'm a noob when it comes to NHibernate)
So let's say when i call the function object.Save(int projectID),
that i can choose the right session to save this object?
|