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.
I\'m trying to convert a SQL query to NHibernate QueryOver syntax, but I don\'t understand how to sort by the count projection.
Using the new QueryOver API in NHibernate, I need to do something equivalent of: select c.* from Category c
I want to filter objects from the db by a property that comes from another object but i get an exception:
I n开发者_JAVA技巧eed the fallowing Query do with NHibernate QueryOver. But I have Problems with the List.
I have the following domain mappings: Person ------ int PersonId IList<PersonDetails> Details; PersonDetails
I have this problem. I have a class like this: public class WfStep { private readonly IDictionary properties = new Hashtable();
I\'ve encountered a little problem selecting only the needed model in QueryOver. Here my scenario var qOver = _HibSession.QueryOve开发者_运维知识库r<ModelA>(() => Ma)
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
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.