Top "Linq-to-nhibernate" questions

A provider for NHibernate library for .NET Framework which allows to use LINQ queries.

LINQ Fluent NHIBERNATE .Contains() does not work in QueryOver<> but works in Query<>

Using FNH, i am trying to retrieve categories, using the following: _session.QueryOver<Data.Model.Category>() .Where(c =&…

nhibernate fluent-nhibernate linq-to-nhibernate
LINQ-NHibernate - Selecting only a few fields (including a Collection) for a complex object

I'm using Fluent NHibernate in one of my projects (and ASP.NET MVC application), with LINQ to query to data (…

c# asp.net-mvc linq nhibernate linq-to-nhibernate
Getting count with NHibernate + Linq + Future

I want to do paging with NHibernate when writing a Linq query. It's easy to do something like this: return …

linq nhibernate linq-to-nhibernate
How to set timeout for NHibernate LINQ statement

I am using Fluent NHibernate for my ORM. In doing so I am trying to use the NHibernate LINQ syntax …

c#-4.0 linq-to-nhibernate
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
How can I use Nhibernate to retrieve data when the "WHERE IN()" have thousands of values? (too many parameters in the sql)

The problem: Nhibernate parses each value in the "WHERE IN()" sql as parameters and MS SQL server doesn't support enough …

c# .net linq nhibernate linq-to-nhibernate
Nhibernate Linq In Clause

Is it possible to get Nhibernate linq to generate a query with an "In" clause? e.g. - Where AnID …

linq nhibernate linq-to-nhibernate
NHibernate - Where ISession.Query<T>() is located

When I try to compile the following code using System; using System.Collections.Generic; using System.Reflection; using System.Linq; …

nhibernate linq-to-nhibernate
Linq to nhibernate - Where collection contains object with id

I have 2 objects like this public class Child { public virtual int ChildId { get; set; } } public class Parent { public virtual int …

c# linq nhibernate fluent-nhibernate linq-to-nhibernate