I want to configure my NHibernate Fluent from app.config and appSettingKey.
Is there anyone who can explain what the app.config file should look like?
MsSqlConfiguration.MsSql2005
.ConnectionString(c => c
.FromAppSetting("appSettingKey"));
And these are my connections
Data Source=(local);Initial Catalog=ABC;Integrated Security=True
This does not work:
<appSettingKey>"Data Source=.;Initial Catalog=ABC;Integrated Security=True"</appSettingKey>
// Mat, Stockholm, Sweden
source
share