Rushino
Rushino

Reputation: 9485

NHibernate 3 and LINQ support?

Just wanted to know if NHibernate 3 have full linq support yet ?

Thanks.

Upvotes: 3

Views: 952

Answers (3)

Paco
Paco

Reputation: 8381

It doesn't have full linq support because it is too much (impossible much) work to write a full link provider. I don't think any full linq provider exists.

You can find the currently unsupported features in Jira.

Upvotes: 0

Diego Mijelshon
Diego Mijelshon

Reputation: 52745

There is no such thing as "full" LINQ support.

LINQ to anything except Objects is a leaky abstraction. Some operations that are trivial to express in an object model are hard to translate to SQL, and vice-versa.

That said, the LINQ provider in NH3 is quite usable, and a lot of work is being put into it (a lot of that will be visible in the 3.0.1 release, which will be out around 28/Feb/2011)

The good news is with NH you always have alternatives. If you can't do a particular query with LINQ, there's always HQL, Criteria, QueryOver and even SQL. They all integrate nicely with the rest of the stack.

Upvotes: 6

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

No there are still some unsupported features. It's not a full LINQ implementation.

Upvotes: 0

Related Questions