views:

98

answers:

4

Where can I get the current Linq provider for NHibernate? I am also using the current release of Fluent NHibernate (1.1). Will the current Linq provider (once I find it) play nicely with fluent?

A: 

You can get it from here: NHibernate. The current, non-alpha release of LINQ for NHIbernate is here. I hear, that LINQ support is much improved in 3.0, but it is still in Alpha - but you could consider using it, depending on the nature of your project.

LINQ for NHIbernate will play nicely with Fluent. LINQ is for querying, Fluent is for configuration, so they won't step on each others toes.

driis
This is not the current, but the previous linq provider
Paco
@Paco, depends on what is meant by "Current". I link to the latest released version (ie. non-alpha).
driis
I don't know why it technically matters that it's called alpha. There are only political reasons to use the old version for the new project. Alpha does not mean unstable.
Paco
Alpha doesn't necessarily mean stable, either, whereas RTM does.
Billy Goats Gruff
The code in the NHiberante trunk, or in the alpha binary release is more stable or unstable than a RTM version.
Paco
+1  A: 

You can find the current linq provider in the trunk of the [NHibernate subversion repository][1].

[1]: https://nhibernate.svn.sourceforge.net/svnroot/nhibernate nhibernate

The linq provider will play nicely with Fleunt, because FluentNH does not have influence on it. The only think FluentNH does, is providing a .Net syntax that will be converted to the original XML mappings. FluentNH feeds NH xml mappings.

Paco
A: 

Fluent 1.1 works nicely with this current version of NHibernate.Linq (for NHibernate 2.1.2.400):

We use this combination at work and they play together nicely.

Rafael Belliard