queryover
NHibernate queryover join tables
I have a question.. How to join two tables tah are related but not have direct relation constraint in nhibernate queryover?[详细]
2023-03-05 03:07 分类:问答NHibernate QueryOver distinct
I have this scenario: class User { Id, UserName } class UserRelationship { User GroupUser, User MemberUser } and query[详细]
2023-03-04 22:40 分类:问答NHibernate QueryOver WhereExists on Many-to-Many
I have a many-to-many relationship which I am trying to query. My problem is very similar to one detailed by Phillip Haydon here so I am going to liberally borrow his diagrams and explanation.[详细]
2023-03-03 14:03 分类:问答How to "Select" with nhibernate queryover
I want to use query over to give me back an object public class TaskMap : ClassMap<Task> { public TaskMap()[详细]
2023-03-03 09:50 分类:问答NHibernate query-over with restriction on a referenced entity
I am using Nhibernate with SQL server 2008. I am trying to execute the following code: var localization = session.QueryOver<T>()[详细]
2023-03-01 08:52 分类:问答NHibernate QueryOver order by first non-null value (coalescing)
What I\'m trying 开发者_如何学运维to come up is something that\'s expressed like this: var result = Session.QueryOver<Foo>().OrderBy(f => f.UpdatedAt ?? f.CreatedAt);[详细]
2023-03-01 04:59 分类:问答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 分类:问答NHIbernate: Shortcut for projecting all properties?
I\'m trying to generate SQL along the lines of: SELECT t.*, SELECT (...) FROM Title t [trimmed] using QueryOver[详细]
2023-02-28 10:46 分类:问答QueryOver - JoinQueryOver problems
i How to use queryover (Join) for same table...example if (!string.IsNullOrEmpty(ufResidencia) || !string.IsNullOrEmpty(cidadeResidencia))[详细]
2023-02-28 04:28 分类:问答