nHydrate vs. NHibernate?

Jan 6, 2010 at 5:15 AM

Could someone please compare these two.

Coordinator
Jan 8, 2010 at 1:20 AM

An article comparing the two will probably not be coming in the next few weeks as we are concentrating on other aspects of the product. However I will tell you the biggest difference that I can think of off hand is that NHibernate uses HQL. This is a very messy way to handle querying. nHydrate allows you to specify strongly-typed, compile-time checked LINQ statements to query data. I think NHibernate has now or is about to release a first version LINQ provider however with nHydrate, LINQ is baked in from the start. Keep in mind you always want "strongly-typed, compile-time checked" statements in code if you can help it. This avoids a lot of run-time errors.