linq-to-nhibernate
How to implement a search query in NHibernate 3 (using NHibernate.Linq)
I\'m trying to build a search query using NHibernate that will filter on parameters from several different tables and result in somewhat-reasonable SQL t开发者_开发问答hat can take advantage of NHiber[详细]
2023-03-10 01:14 分类:问答Linq to Nhibernate 3.1 Group By (Or distinct)
I need to do a simple \"group by\" with a nhibernate query. My try were : (from adn in session.Query&l开发者_StackOverflowt;Table>()[详细]
2023-03-09 17:41 分类:问答nhibernate filter a list with another list of object
I\'m working on a multi f开发者_高级运维acet engine. I\'ve 2 types of Class : ResultProduct public int Id { get; set; }[详细]
2023-03-08 23:56 分类:问答Is there a way to prevent boolean performance problems with NHibernate LINQ provider
We were using NHibernate 2.1 and I upgraded our system to 3.0 to test the new LINQ provider. I compared the linq provider, createquery, and queryover.[详细]
2023-03-08 20:17 分类:问答nhibernate query optimisation
I\'ve this query : var resQuery = (from pan in session.Query<Pan>() orderby pan.AdnMonture.Marque.Nom select pan).ToList<Pan>();[详细]
2023-03-08 12:00 分类:问答Nhibernate GroupBy multiple and Count
First off I know GroubBy multiple properties has not been implemented yet. What I want to do is SELECT count(*)[详细]
2023-03-08 08:35 分类:问答NHibernate 3.x deletes child entities when combining LINQ paging, many-to-many, and subselect fetch
Our application has the concept of Stories and the concept of Tags. A story can have many tags applied to it, and a tag can be applied to many stories, making the relationship many-to-many. The two ta[详细]
2023-03-07 21:48 分类:问答nHibernate 3 QueryOver with compound from clause
Does anybody know a way to do compound from clauses - that are possible with Linq to objects - with nHibernate 3 QueryOver syntax. I know its possible with Linq To nHibernate, but I\'m still trying to[详细]
2023-03-01 04:53 分类:问答Eagerly fetch multiple collection properties (using QueryOver/Linq)?
I found 2 similar questions: Multiple Fetches in linq to nhibernate Is this the right way of using ThenFetch() to load multiple collections?[详细]
2023-03-01 01:01 分类:问答Bound FetchMany in Linq to NHibernate
I am using FetchMany for some of my queries and the NHibernate profiler gives me the following error:[详细]
2023-02-26 23:10 分类:问答