queryover
NHibernate QueryOver: Get a row count with group by in a subquery
I\'m trying to get a count from a query with a group by and just can\'t figure out how to translate the SQL I want into NHibernate\'s QueryOver syntax.[详细]
2023-02-27 10:58 分类:问答NHibernate QueryOver with MaxResult, Group By and Order By
I\'m trying to convert a SQL query to NHibernate QueryOver syntax, but I don\'t understand how to sort by the count projection.[详细]
2023-02-27 01:07 分类:问答Implementing "where not exists" with NHibernate QueryOver
Using the new QueryOver API in NHibernate, I need to do something equivalent of: select c.* from Category c[详细]
2023-02-24 01:58 分类:问答How to restrict selection with QueryOver in (fluent) nhibernate?
I want to filter objects from the db by a property that comes from another object but i get an exception:[详细]
2023-02-23 22:03 分类:问答Convert SQL with 'is in' to QueryOver()
I n开发者_JAVA技巧eed the fallowing Query do with NHibernate QueryOver. But I have Problems with the List.[详细]
2023-02-22 17:10 分类:问答How to QueryOver using correlated subqueries over an aggregate value?
I have the following domain mappings: Person ------ int PersonId IList<PersonDetails> Details; PersonDetails[详细]
2023-02-22 12:41 分类:问答How to query Dynamic properties in NHibernate?
I have this problem. I have a class like this: public class WfStep { private readonly IDictionary properties = new Hashtable();[详细]
2023-02-22 09:13 分类:问答NHibernate QueryOver Select only needed model
I\'ve encountered a little problem selecting only the needed model in QueryOver. Here my scenario var qOver = _HibSession.QueryOve开发者_运维知识库r<ModelA>(() => Ma)[详细]
2023-02-21 12:24 分类:问答What is the difference between JoinQueryOver and JoinAlias?
I need to know what is the differe开发者_C百科nce between JoinQueryOver and JoinAlias, and when to use each?Functionally they do the same thing, create a join to another entity. The only difference is[详细]
2023-02-19 23:45 分类:问答NHibernate 3.x: Same table, three mappings, each result three times
I\'ve three entity types: A, B and C. These are mapped to the same database table. B and C inherit A. There\'re three records in the database table which is mapped by A, B and C.[详细]
2023-02-19 16:50 分类:问答