Top "Queryover" questions

QueryOver is a strongly-typed fluent-like wrapper on top of NHibernate ICritieria, a database-agnostic query API that supports query composition.

NHibernate QueryOver: Get a row count with group by in a subquery

I'm trying to get a count from a query with a group by and just can't figure out how to …

nhibernate queryover
Nhibernate QueryOver. OrderBy using strings property names.

I'm refactoring old-style query CreateCriteria() to QueryOver(). My Wcf service gets string PropertyName to order queries results. For IQueryable I …

nhibernate nhibernate-criteria queryover
GROUP BY and HAVING clauses in nHibernate QueryOver

I'm trying to write this specific sql query in nHibernate QueryOver language, which I am not very familiar with: SELECT …

c# nhibernate queryover
Fluent NHibernate - NHibernate.QueryException: could not resolve property

To start, yes, there are tons of similar questions here on Stack Overflow, but I've browsed them all and the …

nhibernate fluent-nhibernate mapping queryover
Help with QueryOver and WhereExists

I have a problem. I have Persons and Cats. Each Person has some Cats (there is a foreign key in …

c# nhibernate fluent-nhibernate queryover
NHibernate QueryOver how to join on non declared relationship

How to do the following join to return Users who have access to a Company given a company id. The …

nhibernate join queryover
Where ... In ... Or Where ... In ... with NHibernate IQueryOver

I'm trying to emulate subject query with NHibernate's IQueryOver. So far I have var q = CurrentSession.QueryOver<ObjectModel.Order&…

nhibernate queryover
NHibernate JoinAlias query with null test not working

I'm getting some unexpected behaviour with a JoinAlias QueryOver in NHibernate. My entity essentially looks like this: public class Field { …

c# nhibernate nullreferenceexception queryover
Complex nHibernate QueryOver expression

I have the following objects in a hierarchy A > B > C > D. Each object is mapped to …

c# nhibernate queryover