﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>deepsun commented on NHibernate Multi Criteria</title><description>thanks anyway....
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment8</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment8</guid><pubDate>Mon, 09 Jul 2007 05:21:54 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate Multi Criteria</title><description>please ask in the forums, this is not really the place for such questions
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment7</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment7</guid><pubDate>Sun, 08 Jul 2007 10:06:53 GMT</pubDate></item><item><title>deepsun commented on NHibernate Multi Criteria</title><description>Hi,
  
Please can you tell me how can i implement following 
  
  
select x.*, y.Count from 
  
(select * from Users u where u.Id between 1 and 100) as x,
  
(select Count(*), b.Id  from User b group by b.Id ) as y
  
where x.Id = y.Id
  
  
or 
  
  
select x.*, y.Count from 
  
(select * from Users u where u.Id between 1 and 100) as x
  
inner join
  
(select Count(b.Id), b.Id from User b group by b.Id ) as y
  
on x.Id = y.Id
  
  
in NHibernate 1.2 or any version of NHIbernate. using HQL or Create Criteria
  
Please do reply
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment6</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment6</guid><pubDate>Wed, 04 Jul 2007 13:04:14 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate Multi Criteria</title><description>Jeff,
  
that is probably on the horizon for NH 2.0.
  
In the mean time, you can use batch size to handle that.
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment5</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment5</guid><pubDate>Mon, 11 Jun 2007 19:29:13 GMT</pubDate></item><item><title>Jeff Brown commented on NHibernate Multi Criteria</title><description>Nice stuff!
  
Now what I still need is a way to perform bulk updates in-situ in the database without resorting to custom SQL or sprocs...
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment4</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment4</guid><pubDate>Mon, 11 Jun 2007 19:06:49 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate Multi Criteria</title><description>Right now, no, there isn't.
  
Feel free to send me a patch :-)
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment3</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment3</guid><pubDate>Wed, 23 May 2007 07:01:50 GMT</pubDate></item><item><title>Jnapier commented on NHibernate Multi Criteria</title><description>Is there any way to get an IList&lt;T&gt; from a search query in a multiCriteria?  If not, we maybe able to add this capability if we modify add to take a typeparam like so .Add&lt;MyEntity&gt;(myCriteria)
  
  
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment2</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment2</guid><pubDate>Tue, 22 May 2007 23:45:23 GMT</pubDate></item><item><title>Pete w commented on NHibernate Multi Criteria</title><description>I for one am very excited about this one
  
  
Ive come across a few anecdotal situations where performance was of the essence and I had to bypass NHibernate to gain this kind of control over my data layer.
  
Increasing the granularity of communication between clients and servers reduces overhead performance costs incurred by "chatty" servers. Normally, you wouldn't care very much about an extra roundtrip to the database, but when you are considering this kind of performance adjustment, you are probably cognizant  of your situation.
  
</description><link>http://ayende.com/2413/nhibernate-multi-criteria#comment1</link><guid>http://ayende.com/2413/nhibernate-multi-criteria#comment1</guid><pubDate>Sun, 20 May 2007 15:23:25 GMT</pubDate></item></channel></rss>