queryover
nhibernate queryover join with subquery to get aggregate column
I have been searching for several hours now how to do this, but can\'t seem to find anything to help me.[详细]
2023-03-30 12:49 分类:问答Using a subquery for a column with QueryOver
I\'m trying to get something similar to the SQL below via QueryOver: SELECT docs.*, (SELECT TOP 1 eventDate from events WHERE id=do开发者_如何学Gocs.id[详细]
2023-03-29 06:48 分类:问答Why is my discriminator being returned as a proxy?
I have a Status property in one of my POCO\'s that acts as a discriminator (very similar to using an enum).[详细]
2023-03-28 21:45 分类:问答NHibernate 3.1.0.4000 QueryOver SQL Optimisation
I have Entity \'Content\'. Each Content has a \'Placement\' property. Placement has a many-to-many relationship width \'AdType\' entity (Placement has IList<\\AdType> property mapped).[详细]
2023-03-28 08:48 分类:问答How to select and consume a collection of value objects in an NHibernate QueryOver query
I have a simple model, consisting of a document that references one or more article using a reference object (this is because in the domain, we do not own the articles so we can only reference them).[详细]
2023-03-28 05:59 分类:问答NHibernate QueryOver how to join on non declared relationship
How to do the following join to return Users who have access to a Company given a company id. The problem is there is no explicit relationship using a User objec开发者_运维问答t between UserAccess and[详细]
2023-03-28 04:29 分类:问答fetching strategies for collections of abstract type
so here\'s the situation: suppose I have a clas开发者_C百科s structure used to represent flexible search:[详细]
2023-03-27 01:56 分类:问答Eagerly fetch multiple collection: differences between QueryOver and Query
I have the classic situation Orders/OrderLines. I wanted to fetch some orders and eagerly load the orderslines with an outer join.[详细]
2023-03-26 18:39 分类:问答define subselect for a queryover
i\'m certain that i\'m missing something really obvious here. what I want to acheive is quite simple- I\'d like one query to load all Users without hydrating their Posts and Followers collections.[详细]
2023-03-26 10:53 分类:问答How to do this using NHibernate's QueryOver?
In my database there are these three tables, among others TRANSLATION has a non-nullable foreign key to UNIT and a nullable foreign key to ASSIGNMENT. UNIT may have more TRANSLATIONS assigned.[详细]
2023-03-26 01:01 分类:问答