Making the leap to QueryOver

So, if you are using the ActiveRecord/NHibernate stack I highly recommend switching to query over. The syntax is cleaner and it's type-safe.

Here is an example of a criterion based query:


Here is an example of the same query in QueryOver:



Unlike the Linq language for Nhibernate QueryOver is just a translation layer for Criterion.

Comments

Audio Visual said…
Thanks for keeping people up on what's happening.

Audio Visual
I have read lots of information before and I find this the most informative of them.
Yard Drainage Contractors
Wrenlee Neriah said…
Great post for developers looking to transition from traditional NHibernate queries to QueryOver. The explanations and examples make a complex topic much easier to understand, especially for those modernizing existing codebases. Thanks for sharing such a practical and insightful guide!

auctionmasters

Popular posts from this blog

New Pattern: CPT (Can't Polish a Turd)

Getting the Data out of my Controller Tests

Microsoft MVC or Is the Monorail off it's track?