Discussion:
[nhusers] nhibernate in old dot net code
Stephen Meier
2018-11-18 15:12:17 UTC
Permalink
Hi,



i need to enhance a older software that uses dot net 3.5 with a ORM layer,
since the EF 1 got a vote of no confidence back in 2009 im thinking about
using nhibernate.

according to this: https://www.nuget.org/packages/NHibernate/4.1.2.4000 it
only needs:

Iesi.Collections (>= 4.0.0 & < 5.0.0)


but is it a good idea to add a almost current nhibernate to such a old dot
net version?
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Gunnar Liljas
2018-11-18 16:54:36 UTC
Permalink
I don't see why not. You also have Linq to SQL built into the framework, if
the target is SQL Server. It's actually quite good. Certainly better than
EF1. But NHibernate will provide a better upgrade path, if you manage to
move away from .NET 3.5.

/G
Post by Stephen Meier
Hi,
i need to enhance a older software that uses dot net 3.5 with a ORM layer,
since the EF 1 got a vote of no confidence back in 2009 im thinking about
using nhibernate.
according to this: https://www.nuget.org/packages/NHibernate/4.1.2.4000
Iesi.Collections (>= 4.0.0 & < 5.0.0)
but is it a good idea to add a almost current nhibernate to such a old dot
net version?
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Oskar Berggren
2018-11-18 20:45:38 UTC
Permalink
NH4 doesn't support .Net lower than 4.0 does it?
Post by Gunnar Liljas
I don't see why not. You also have Linq to SQL built into the framework,
if the target is SQL Server. It's actually quite good. Certainly better
than EF1. But NHibernate will provide a better upgrade path, if you manage
to move away from .NET 3.5.
/G
Post by Stephen Meier
Hi,
i need to enhance a older software that uses dot net 3.5 with a ORM
layer, since the EF 1 got a vote of no confidence back in 2009 im thinking
about using nhibernate.
according to this: https://www.nuget.org/packages/NHibernate/4.1.2.4000
Iesi.Collections (>= 4.0.0 & < 5.0.0)
but is it a good idea to add a almost current nhibernate to such a old
dot net version?
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Alexander Zaytsev
2018-11-18 21:11:03 UTC
Permalink
No, it doesn't.

Need to use NH 3.x if you want .NET 3.5.

Best Regards,
Alexander
Post by Oskar Berggren
NH4 doesn't support .Net lower than 4.0 does it?
Post by Gunnar Liljas
I don't see why not. You also have Linq to SQL built into the framework,
if the target is SQL Server. It's actually quite good. Certainly better
than EF1. But NHibernate will provide a better upgrade path, if you manage
to move away from .NET 3.5.
/G
Den sön 18 nov. 2018 kl 16:16 skrev Stephen Meier <
Post by Stephen Meier
Hi,
i need to enhance a older software that uses dot net 3.5 with a ORM
layer, since the EF 1 got a vote of no confidence back in 2009 im thinking
about using nhibernate.
according to this: https://www.nuget.org/packages/NHibernate/4.1.2.4000
Iesi.Collections (>= 4.0.0 & < 5.0.0)
but is it a good idea to add a almost current nhibernate to such a old
dot net version?
--
You received this message because you are subscribed to the Google
Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Loading...