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 join with subquery to get aggregate column

I have been searching for several hours now how to do this, but can't seem to find anything to help …

nhibernate subquery queryover
QueryOver IN Clause?

I want to simulate this query: SELECT * FROM FOO WHERE ID IN (1,2,3) How can I do this in FNH? var …

nhibernate queryover
QueryOver Or with Subquery

IHave the following NHibernate query using a subquery: NHContext.Session.QueryOver<Item>() .WithSubquery.WhereProperty(x => x.ItemId).…

nhibernate queryover
NHibernate lazy loading nested collections with futures to avoid N+1 problem

I have an object model that looks like this (pseudo code): class Product { public ISet<Product> Recommendations {get; …

nhibernate queryover
Nhibernate + QueryOver: filter with Where ignoring sensitive

I am trying to build a simple query in nHibernate with QueryOver but I want it to convert everything lower-case …

c# nhibernate queryover
NHibernate QueryOver to join unrelated entities

I have the following query working which gets the results I want: int associatedId = 123; MyObject alias = null; var subQuery = QueryOver.…

nhibernate queryover
Use OR Clause in queryover in NHibernate

I am using Nhibernate. I am writing query through queryover method. I am able to write and clause as in …

c# sql nhibernate queryover
Queryover where id is not in list

I have been struggling with this for a while, so I hope some of you QueryOver experts can help. I …

nhibernate queryover
NHibernate 3. Alternatives to "ThenFetch" in QueryOver

I'm using NHibernate 3.0 with both the LINQ provider and QueryOver. Sometimes I want to eager load related data, and there …

nhibernate linq-to-nhibernate queryover
NHibernate QueryOver Sum within JoinQueryOver

Though I was reading through the NHibernate Cookbook and all available forum-posts up and down, I'm still not able to …

nhibernate join aggregate queryover