This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a solution in .NET that has multiple projects. Project 1 - Database Project Project 2 - ASP MVC Project Project 3 - C# Project - NHibernate models, desginer model and nHibernateSessionHelper class. Here are my questions:
Regards, Sameer Jaffer |
|
|
You can either add the configuration in your web.config and reference the NHibernate libraries to support loading that configuration as you have found or you can include the configuration as an embedded resource (e.g. in your Project 3 assembly) and then load the configuration from the resource instead. I believe you would specify it like this in code for loading the configuration:
In terms of multiple databases, this is possible but not on the same model, you will need to create one model per database.
|
|