<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris Hampson &#187; nhibernate</title>
	<atom:link href="http://www.bleevo.com/tag/nhibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bleevo.com</link>
	<description>Software, Business &#38; Life</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:27:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>NHiberante Error Invalid index 1 for this SqlParameterCollection with Count 1</title>
		<link>http://www.bleevo.com/2009/08/nhiberante-error-invalid-index-1-for-this-sqlparametercollection-with-count-1/</link>
		<comments>http://www.bleevo.com/2009/08/nhiberante-error-invalid-index-1-for-this-sqlparametercollection-with-count-1/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 04:52:11 +0000</pubDate>
		<dc:creator>Chris Hampson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[nhibernate]]></category>

		<guid isPermaLink="false">http://www.bleevo.com/2009/08/nhiberante-error-invalid-index-1-for-this-sqlparametercollection-with-count1/</guid>
		<description><![CDATA[Invalid index 1 for this SqlParameterCollection with Count=1 If you ever get this error it could be because your property mappings are mapped to the same column. &#60;property name=&#34;FirstName&#34; column=&#34;FirstName&#34; type=&#34;string&#34; not-null=&#34;true&#34; /&#62; &#60;property name=&#34;LastName&#34; column=&#34;FirstName&#34; type=&#34;string&#34; not-null=&#34;true&#34; /&#62; This will cause this error, the fix is to map your properties correctly. &#60;property name=&#34;FirstName&#34; column=&#34;FirstName&#34; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Invalid index 1 for this SqlParameterCollection with Count=1</strong></p>
<p>If you ever get this error it could be because your property mappings are mapped to the same column.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span> <span style="color: #000066;">column</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span> <span style="color: #000066;">not-null</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span> <span style="color: #000066;">column</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span> <span style="color: #000066;">not-null</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<p>This will cause this error, the fix is to map your properties correctly.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span> <span style="color: #000066;">column</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span> <span style="color: #000066;">not-null</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span> <span style="color: #000066;">column</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span> <span style="color: #000066;">not-null</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bleevo.com/2009/08/nhiberante-error-invalid-index-1-for-this-sqlparametercollection-with-count-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
