queryover
Truncate DateTime in NHibernate QueryOver SelectGroup
I have a fairly run-of-the-mill QueryOver query containing the following, .SelectList(list => list .SelectGroup(() => txn.GroupField)[详细]
2023-03-18 01:44 分类:问答Why does TransformUsing(Transformers.DistinctRootEntity) not work in my statement?
I have this Course cAlias = null; Task tAlias = null; CoursePermission cpAlias = null; TaskAppointments taskAppointments = null;[详细]
2023-03-17 18:39 分类:问答Multi-table NHibernate query
I have an object graph that looks like this: class A () { int id; IEnumerable<B> bees; } class B() { int id;[详细]
2023-03-17 05:59 分类:问答NHibernate query over comparing two sub queries
How do you I combine two sub queries with queryover with WithSubQuery ? I want something like below (exact syntax doesn\'t matter):[详细]
2023-03-16 20:51 分类:问答Select explicitly columns using QueryOver from 2 tables
Below is HQL query that I use to obtains all columns f开发者_如何学编程rom OrderDetail table and Name column from Item table.[详细]
2023-03-15 16:56 分类:问答Having in QueryOver
we are struggling with the following problem.. ORM solution of our choice is NHibernate and we want to write queries开发者_运维知识库 using QueryOver style.. Right now there is a new puzzle to solve,[详细]
2023-03-15 13:55 分类:问答NHibernate QueryOver select entity and aggregates
What I want to do is display a simple grid of data which contains the entity data, and the aggregate data of its children. For example lets use a Order and line items. I want to display the order info[详细]
2023-03-14 21:20 分类:问答NHibernate : QueryOver in generic method
I have this test method, I have a problem on the \"List\" method. I\'d like use several class (all inplement IAdminDecimal). On the QueryOver, I have this error :[详细]
2023-03-13 19:55 分类:问答NHibernate QueryOver Sum within JoinQueryOver
Though I was reading through the NHibernate Cookbook and all available forum-posts up and down, I\'m still not able to get this simple query done:[详细]
2023-03-13 06:33 分类:问答NHibernate QueryOver with an Or subquery
Ok I\'m losing on this one. I have an NHibernate query that looks something like this var subQuery = QueryOver.Of<Lead>()[详细]
2023-03-12 09:34 分类:问答