nhibernate-criteria
Fluent NHibernate and filtering one-to-many relationship on query requiring multiple joins?
I recently got started with NHibernate and am having some trouble implementing the domain model outlined further down.[详细]
2023-02-13 12:15 分类:问答Nhibernate - stuck with detached criteria (asp.net mvc 1 with nhibernate 2) c#
OK so I can\'t find a good example of this so I can better understand how to use detached criteria (assuming that\'s what I want to use in the first place).[详细]
2023-02-13 03:28 分类:问答DetachedCriteria equivalent needed
开发者_如何学运维I need the DetachedCriteria equivalent to the following HQL: select obj from Objects obj, Text text[详细]
2023-02-11 11:25 分类:问答Can I use NHibernate Criteria to project an entity and its child collection onto a class?
I\'m using NH Criteria to retrieve an entity and project selective fields onto a custom class (a bit like projecting da开发者_StackOverflow社区ta onto a ViewModel for display on an MVC view).[详细]
2023-02-10 06:04 分类:问答Nhibernate partial eager load of child collection
If I have a parent object (Parent) which has a List(Of Child) objects as a many-one relationship. Is it possible to return a Parent with a subset of it\'s child objects (eagerly loaded)? I am using VB[详细]
2023-02-06 11:21 分类:问答NHibernate - define where condition
In my application the user can defines search-conditions. He can choose a column, set an operator (equals, like, greater than, less or equal than, etc.) and give in the value. After the user clicks on[详细]
2023-02-03 01:54 分类:问答Nhibernate table-per-subclass criteria on subclass ID uses key column in parent table
I using the table per subclass strategy for inheritance in my application, as described in Ayende\'s post here.[详细]
2023-01-30 06:58 分类:问答When using CreateCriteria how do you sort the results in random order?
I have a function that开发者_StackOverflow returns a max number of items that are active. I would like to be able to make the returned results be sorted in random order.[详细]
2023-01-29 06:49 分类:问答Using NHibernate to report a table with two sums
I have three tables: People, Purchases, Payments with 1-to-many relationships between People and Purchases, and People and Payments.[详细]
2023-01-27 22:31 分类:问答Does DetachedCriteria/ICriteria have any restriction on join depth?
Imagine I have C1, C2 and C3 classes. Suppose we can have string dummy = c1.ContainerC2.ContainerC3.Prop1. Is there any restriction that does not allow me to create an alias directly from C3 without h[详细]
2023-01-27 02:25 分类:问答