linq-to-nhibernate
Do global fetching rules get respected by the LINQ provider in NHibernate 3.0?
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\[详细]
2023-01-31 03:35 分类:问答NH QueryOver FetchMany Exception
I am trying to query a parent User and then their UserRoleMappings. I have something similar to the below statement:[详细]
2023-01-30 19:45 分类:问答Count Distinct - Inner Join - Group By / With the new Linq-to-NHibernate Provider
How would you write this exact SQL query with the new Linq-to-NHibernate Provider (3.x) SELECT Post.Title, COUNT(DISTINCT Comment.UserId)[详细]
2023-01-29 03:09 分类:问答NHibernate: can't successfully eager load
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[详细]
2023-01-29 02:43 分类:问答LINQ TO NHibernate - NHib 2.1.2
I am looking into the possibility of taking on LINQ to NHibernate in the hopes of simplifying some of my criteria queries.[详细]
2023-01-28 13:53 分类:问答Linq to NHibernate - select count problem
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[详细]
2023-01-28 01:16 分类:问答Linq to NHibernate - ordering anonymous type
I am using Nhibernate v2.1.2.4000. With many-to-many relationship between Posts an Tags I havethe query:[详细]
2023-01-27 21:43 分类:问答Is it possible to use NHibernate 3 with current release of Castle ActiveRecord?
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[详细]
2023-01-26 08:05 分类:问答Nhibernate 3.0 LINQ: Problem returning to IQueryable (non generic version) - doesn't allow ToList()
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[详细]
2023-01-26 06:25 分类:问答Linq-to-NHibernate subquery error: Unhandled expression type 1000
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.[详细]
2023-01-25 23:18 分类:问答