icriteria
NHibernate + Fluent NHibernate + Oracle Index
I have a table with more than 10 000 000 rows. In TOAD this query works very well on it: select /*+ INDEX(x IDX_CASHFLOW_COMPLEX)*/ *[详细]
2022-12-14 05:56 分类:问答Filtering NHibernate SubType with ICriterion
Is there any way I can filter my NHibernate query on the SubType field before开发者_运维问答 I hit the database by adding an ICriterion to my executing DetachedCriteria?[详细]
2022-12-13 20:37 分类:问答How do I retrieve a list of base class objects without joins using NHibernate ICriteria?
Let\'s say I have a base class called Pet and two subclasses Cat and Dog that inherit Pet. I simply map these to three tables Pet, Cat and Dog, where the Pet table contains the base class properties[详细]
2022-12-13 15:13 分类:问答Need help converting SQL to criteria API
I have an NHibernate application that currently makes use of a SQL Server user-defined function. I wou开发者_如何学Cld like to avoid having to call this function, and instead express its logic using t[详细]
2022-12-12 15:38 分类:问答NHLambdaExtensions: Create a Criterion object to add to ICriteria later
My application creates a dynamically generated query at runtime based on user input by creating Criterion objects e.g:[详细]
2022-12-12 13:00 分类:问答NHibernate: Convert an ICriteria to a DetachedCriteria
Anyone know how to convert an ICriteria into a DetachedCriteria.I need to use an existing ICriteria as part of a subquery using:[详细]
2022-12-12 06:36 分类:问答Where are the NHibernate/Hibernate HQL and ICriteria query examples?
I\'m still quite new to NHibernate and most of it I\'m getting to grips with.One area that I\'m really lacking a proper understanding of though is querying (at least when it comes to anything reasonab[详细]
2022-12-12 03:40 分类:问答NHibernate Criteria Query - Select Distinct
I have a Person entity belong开发者_如何学Pythons to a person has a Country, I want to select all the distinct countries that have people in them.Easy in HQL[详细]
2022-12-11 22:54 分类:问答Nhibernate ICriteria and Using Lambda Expressions in queries
hi i am new in NHibernate and i am a little confused. Suppose we have a product table. Let the product table have 2 columns price1 and price2.[详细]
2022-12-11 17:40 分类:问答NHibernate Criteria Query - Select Distinct with Joined Entity
I have a Person entity.Every person has a country, I want to select all the distinct countries that have people in them. This Criteria Query returns all the distinct CountryID\'s[详细]
2022-12-11 13:57 分类:问答