NHibernate connection string configuration
Posted
by user177883
on Stack Overflow
See other posts from Stack Overflow
or by user177883
Published on 2010-05-19T00:48:41Z
Indexed on
2010/05/19
0:50 UTC
Read the original article
Hit count: 317
I have a c# library project, that i configured using nhibernate, and I like people to be able to import this project and use the project.
I have a connection string in hibernate config file and in app.config file of another project.
it would be nice for anyone to be able to set the connection string into this library project and use it.
How to do this?
I d like this class library to use the same database of the project that s imported.
How to set hibernate connection string programatically?
same idea for log4net.
© Stack Overflow or respective owner