I just updated my project to NHibernate 3.0, and I\'m trying to convert some of my criteria statements to LINQ statements. Everything seems to be working fine, except that the new LINQ statements don\
I am trying to query a parent User and then their UserRoleMappings. I have something similar to the below statement:
How would you write this exact SQL query with the new Linq-to-NHibernate Provider (3.x) SELECT Post.Title, COUNT(DISTINCT Comment.UserId)
I\'m using NH 3.0 and FNH 1.1 recompiled with NH3. I have a user model where I want to always retrieve its profile when loading it. I use the linq provider from NH3 but can\'t use its Fetch method (b
I am looking into the possibility of taking on LINQ to NHibernate in the hopes of simplifying some of my criteria queries.
Given the classes A and B where class A { string Name; Ilist<B> BList; } class B { string Name; } With FluentNH mapping, relationship is many-to-many which is HasManyToMany(x => x.B) for
I am using Nhibernate v2.1.2.4000. With many-to-many relationship between Posts an Tags I havethe query:
I need to use new LINQ provider in NHibernate 3.0 us开发者_开发百科ing Castle ActiveRecord. How it possible. Can I simply replace NHibernate 3.0 assembly with that one that comes with Castle ActiveRec
I am using the latest Nhi开发者_JAVA技巧bernate and i have a linq query to return just 1 column. so I can\'t use for example IQueryable as there is no entity class - i am returning only 1 column. But
When I use a subquery like this in Linq-to-NHibernate I got error \"Unhanded expression type 1000\". This link contains same problem but does not provide any proper solution.