Thursday, April 28, 2011

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.

4 comments:

ahmed said...

لكننا في الشركة لمحاربة الحشرات بالرياض منذ فترة طويلة خبرة في هذا المجال شركة مكافحة حشرات
شركة مكافحة النمل الابيض بالخبر
شركة مكافحة حشرات بالخبر
شركة رش مبيدات بالخبر

Audio Visual said...

Thanks for keeping people up on what's happening.

Audio Visual

Yard Drainage Contractors said...

I have read lots of information before and I find this the most informative of them.
Yard Drainage Contractors

Guest said...

Your blog is a great resource; thank you. Siding Repair and Installation in Coquitlam