如何获得流利的NHibernate与NHibernate 3.x工作 [英] How to get Fluent NHibernate working with NHibernate 3.x
问题描述
如何获得流利的NHibernate与最新的NHibernate 3.x干线
pre>无法加载文件或程序集'NHibernate,Version = 2.1.2.4000,Culture = neutral,PublicKeyToken = aa95f207798dfdb4'或其依赖项之一。
编辑:
FluentNhibernate文件PersistanceConfiguration
$ b $ pre $ lt; code> public TThisConfiguration Cache(Action< CacheSettingsBuilder> cacheExpression)
{
cacheExpression(cache) ;
return(TThisConfiguration)this;
$ b
不明白,FluentNHibernate是针对NH 3.x编译的, p>
FluentNHibernate 下载页面在NHibernate 3.0和2.1.2中有稳定的pre-release(pre 1.2)二进制文件。
How to get Fluent NHibernate working with latest NHibernate 3.x trunk
I got the following Exception :
Could not load file or assembly 'NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies.
EDIT :
This exception occurs in FluentNhibernate file PersistanceConfiguration
public TThisConfiguration Cache(Action<CacheSettingsBuilder> cacheExpression)
{
cacheExpression(cache);
return (TThisConfiguration)this;
}
Don't understand, FluentNHibernate is well compiled against NH 3.x
The FluentNHibernate download page has stable pre-release (pre 1.2) binaries for NHibernate 3.0 and 2.1.2
这篇关于如何获得流利的NHibernate与NHibernate 3.x工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!