icriteria
Why doesn't ICriteria pass variable value to the withClause?
I\'m trying to restrict a left outer join with a simple restriction but it fails with an sql exception.[详细]
2023-04-05 07:09 分类:问答ICriteria - fluent nhibernate not producing inner join
I am developing a small web application, using nhibnerate as my DAL. I have to classes that I wish to select from, using a simple ICriteria.[详细]
2023-04-01 00:02 分类:问答How do I optimize ICriteria to select in NHIbernate?
First of all, I\'m sure there must be a simple solution to this but I just can\'t find it. (Yes, I have googled it)[详细]
2023-03-28 00:20 分类:问答NHibernate Criteria: howto exclude certain mapped properties/collections?
Here\'s my (simplified) model: Ticket -> Customer Callback (s) I have my Ticket mapped so that when it\'s loaded, the Callbacks are as well.[详细]
2023-03-22 14:40 分类:问答Querying a Temporary Table in NHibernate
I have a process which generates a result set for me and stores it in a temporary table.I have the name of the temporary table.I am trying to find a way, using NHibernate, to create a DetachedCriteria[详细]
2023-03-18 09:51 分类:问答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 分类:问答Concatenate fields using NHibernate projections
Using the accepted answer to this question I have been able to concatenate two fields using ICriteria and projections. I have ended up with[详细]
2023-03-08 06:56 分类:问答Getting the newest post from a topic using ICriteria (Nhibernate)
In a forum, I want to list the most recent posts from each topic. In SQL I can do a subquery with group by Topic taking Max(Post.Date) and then make an inner join with the Posts table to get the lates[详细]
2023-03-07 00:03 分类:问答ICriteria subquery
I have to simple entities public class EntityA { public virtual int ID { get;set;} public virtual string Name { get;set;}[详细]
2023-03-01 10:19 分类:问答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 分类:问答