Hi,
Can anybody please tell me the steps to upgrade NHibernate 2.1 to NHibernate 3.3
I have the following DLL's
1. NHibernate 2.1
2. NHibernate.ByteCode.Castle 2.1
3. Iesi.Collections 1.0
4. FluentNHibernate 1.0
5. Castle.DynamicProxy2 2.1
6. Castle.Core 1.1
The configuration code for Fluent Nhibernate is as follows
public static FluentConfiguration Config
{
get
{
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 what DLL's should be excluded/upgraded and code changes if any in the configuration for installing the Latest NHibernate.
Thanks
... NHibernate no longer supports pluggable proxy factories, it uses an internal one.
No you should delete all the DLL’s and then do a “Clean” on the solution. Make sure all the dlls’ have all disappeared from your BIN folders.
Then install from Nuget and see what breaks J
However I don’t use Fluent so I am not 100% sure what you need to use for the ProxyFactoryFactory
HTH Rippo
From: nhibernate-...@googlegroups.com [mailto:nhibernate-...@googlegroups.com] On Behalf Of Pravin
Sent: 10 June 2013 09:56
To: nhibernate-...@googlegroups.com
Subject: [nhibernate-development] Re: Upgrade NHibernate 2.1 to NHibernate 3.3 (Latest)
Thanks Guyz for your suggestion, but will installing the package replace the DLL's for all the NHibernate projects that I'm using. Right now, I just want to experiment with 1 project.
--
---
You received this message because you are subscribed to the Google Groups "nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.