I am looking into the possibility of taking on LINQ to NHibernate in the hopes of simplifying some of my criteria queries.
However I've had some difficulty in locating the correct provider. There seem to be two different providers out there, one written by Steve Strong and the other by Ayende Rahien. I'm not really sure which one to go with.
To complicate matt开发者_如何学运维ers further, there seem to be different providers for different versions of NHibernate. We're currently using NHibernate 2.1.2 and I don't really want to take the risk of using NHib 3 as it looks like it's still at pre-production levels.
Can anyone tell me:
- which is the best provider to use?
- provide a link to download the source?
If you're on NH2.1.2, Ayende's original NHibernate.Linq provider is your only choice. The binary is here, but there seems to be some dispute about the source. It should be in the NHContrib project, but it doesn't seem to be quite right.
When 3.0 becomes stable, Steve Strong's new provider should be the default. There's quite a bit of work to go on it at the moment, but work seems to be proceeding apace.
精彩评论