[英]Migration from NHibernate 2.1 to Nhibernate 3.3
I 'm in process of migrating from NHibernate 2.1 to Nhibernate 3.3. 我正在从NHibernate 2.1迁移到Nhibernate 3.3。 Please can anybody tell me briefly the steps to do so.
请任何人简要地告诉我这样做的步骤。 Following are the DLL's I'm using in my current Project
以下是我在当前项目中使用的DLL
Also is there any need to change the code in the Fluent Hibernate Configuration? 还需要在Fluent Hibernate Configuration中更改代码吗? Following is the code.
以下是代码。
if (_config == null)
{
_config = Fluently.Configure()
.Database(MsSqlConfiguration.MsSql2008
.ConnectionString(cs => cs.Is(ConnectionString))
.AdoNetBatchSize(2000)
.Raw("command_timeout", "600")
.ProxyFactoryFactory("NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle")
.ShowSql()
)
.
.
.
}
Please let me know which DLL(s) to remove/upgrade and the changes in the Fluent NHibernate Code if any. 请让我知道要删除/升级的DLL,以及Fluent NHibernate代码中的更改(如果有)。
.ProxyFactoryFactory()
should be removed .ProxyFactoryFactory()
应该被删除
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.