app.config と appSettingKey から NHibernate Fluent を構成したいと考えています。
ファイルapp.configがどのように見えるべきかを説明できる人はいますか?
MsSqlConfiguration.MsSql2005
.ConnectionString(c => c
.FromAppSetting("appSettingKey"));
そして、これは私の接続文字列です
Data Source=(local);Initial Catalog=ABC;Integrated Security=True
これは機能しません:
<appSettingKey>"Data Source=.;Initial Catalog=ABC;Integrated Security=True"</appSettingKey>
// マッツ、ストックホルム、スウェーデン