Hi,
What happens when calling BuildSessionFactory() method in the conditions described below:
- I use MSSQL Server 2005 Express Edition
- Database to which I connect to, using NHibernate, is NOT on the local MSSQL server; it is on a remote MSSQL Server.
- LAN connection is disabled or the cable is unplugged.
Why not the BuildSessionFactory() throws any exception? How can I resolve the problem, in order to assure that when a new sesssion factory is build I have a connection to the database ?
Thanks
|