<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Parameter lists in NHibernate</title>
	<atom:link href="http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/</link>
	<description>Strong opinions, weakly held</description>
	<lastBuildDate>Thu, 23 May 2013 23:40:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Javier Callico</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-3622</link>
		<dc:creator>Javier Callico</dc:creator>
		<pubDate>Thu, 21 Jul 2011 20:27:00 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-3622</guid>
		<description>I as well was building the IN list myself until I found your article. It works great. The generated sql for a list containing two values looks like this:  &#039;... where event0_.Code in (@p0 , @p1)&#039;,@p0=N&#039;Test&#039;,@p1=N&#039;Test2&#039;</description>
		<content:encoded><![CDATA[<p>I as well was building the IN list myself until I found your article. It works great. The generated sql for a list containing two values looks like this:  &#8216;&#8230; where event0_.Code in (@p0 , @p1)&#8217;,@p0=N&#8217;Test&#8217;,@p1=N&#8217;Test2&#8242;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-830</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Mon, 02 Nov 2009 16:20:34 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-830</guid>
		<description>Just as a heads up, there seems to be some bugs using empty lists and null lists using the SetParameterList.  If you change to use Criteria, then it&#039;ll work fine.</description>
		<content:encoded><![CDATA[<p>Just as a heads up, there seems to be some bugs using empty lists and null lists using the SetParameterList.  If you change to use Criteria, then it&#8217;ll work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-829</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Wed, 28 Jan 2009 01:32:25 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-829</guid>
		<description>@chris

Good, cause I was stumped!</description>
		<content:encoded><![CDATA[<p>@chris</p>
<p>Good, cause I was stumped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-828</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Tue, 27 Jan 2009 22:44:49 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-828</guid>
		<description>Figured it out... 

needed to add a bag to the Categories
use a CreateCritera and InExpression

Thanks again!</description>
		<content:encoded><![CDATA[<p>Figured it out&#8230; </p>
<p>needed to add a bag to the Categories<br />
use a CreateCritera and InExpression</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-827</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Tue, 27 Jan 2009 21:08:23 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-827</guid>
		<description>I hate asking for help on blog posts but this is so close... 

From your example above, using the criteria API.  How would I get a list of categories given a list of products. 

Thanks for your time!
</description>
		<content:encoded><![CDATA[<p>I hate asking for help on blog posts but this is so close&#8230; </p>
<p>From your example above, using the criteria API.  How would I get a list of categories given a list of products. </p>
<p>Thanks for your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy Bogard</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-826</link>
		<dc:creator>Jimmy Bogard</dc:creator>
		<pubDate>Mon, 01 Sep 2008 17:28:22 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-826</guid>
		<description>@Nathan

Try using the &quot;join&quot; LINQ clause.  I&#039;m not sure if the Linq to NH developers support this use, but I&#039;ve seen examples for other IQueryProvider implementations.</description>
		<content:encoded><![CDATA[<p>@Nathan</p>
<p>Try using the &#8220;join&#8221; LINQ clause.  I&#8217;m not sure if the Linq to NH developers support this use, but I&#8217;ve seen examples for other IQueryProvider implementations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-825</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sun, 31 Aug 2008 06:27:27 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-825</guid>
		<description>Any idea if there is a LINQ for NH syntax to accomplish the same thing. We&#039;re humming along using LINQ but have to drop down to HQL for these pesky IN style queries.</description>
		<content:encoded><![CDATA[<p>Any idea if there is a LINQ for NH syntax to accomplish the same thing. We&#8217;re humming along using LINQ but have to drop down to HQL for these pesky IN style queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy Bogard</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-824</link>
		<dc:creator>Jimmy Bogard</dc:creator>
		<pubDate>Thu, 28 Aug 2008 02:44:14 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-824</guid>
		<description>@Ted

No, it creates parameters for each value for you.  I forgot to include the SQL generated in the post.</description>
		<content:encoded><![CDATA[<p>@Ted</p>
<p>No, it creates parameters for each value for you.  I forgot to include the SQL generated in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-823</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Wed, 27 Aug 2008 12:33:37 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-823</guid>
		<description>Can you use parameters in an in clause?  Or does it just produce something like:
SELECT * from Products
WHERE CATEGORY IN (1,2)
</description>
		<content:encoded><![CDATA[<p>Can you use parameters in an in clause?  Or does it just produce something like:<br />
SELECT * from Products<br />
WHERE CATEGORY IN (1,2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://lostechies.com/jimmybogard/2008/08/27/parameter-lists-in-nhibernate/#comment-822</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Wed, 27 Aug 2008 06:33:39 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/08/26/parameter-lists-in-nhibernate.aspx#comment-822</guid>
		<description>Oh boy... Jimmy you not the only one... Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Oh boy&#8230; Jimmy you not the only one&#8230; Thanks for sharing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
