<?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>Log et al - Peter Curd</title>
	<atom:link href="http://pcurd.co.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://pcurd.co.uk</link>
	<description>An irreverent peek into the inner rumblings of Peter Curd</description>
	<lastBuildDate>Sat, 20 Oct 2012 22:35:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>How to perform an SQL &#8220;IN&#8221; query in Linq</title>
		<link>http://pcurd.co.uk/?p=245&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-perform-an-sql-in-query-in-linq</link>
		<comments>http://pcurd.co.uk/?p=245#comments</comments>
		<pubDate>Sat, 20 Oct 2012 22:35:24 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Linq]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=245</guid>
		<description><![CDATA[Using Linq to achieve a query that in SQL that uses the "IN" keyword - i.e. to check a value against a range of values - requires use of the .Contains method on a new array of the range of values.]]></description>
			<content:encoded><![CDATA[<p>Using Linq to achieve a query that in SQL that uses the &#8220;IN&#8221; keyword &#8211; i.e. to check a value against a range of values &#8211; requires use of the .Contains method on a new array of the range of values.</p>
<p>For example, if I need to exclude from reports the following customers:</p>
<ol>
<li>Internal</li>
<li>Demo</li>
<li>Sample</li>
</ol>
<div>I would in SQL use something like:</div>
<div>
<pre class="brush: sql; title: ; notranslate">CustomerName NOT IN ('Internal', 'Demo', 'Sample')</pre>
</div>
<div>In Linq I need something like:</div>
<div>
<pre class="brush: csharp; title: ; notranslate">!(new[] {&quot;Internal&quot;, &quot;Demo&quot;, &quot;Sample&quot;}).Contains(CustomerName))</pre>
<p>Appropriately wired into EF or your ORM of choice.</p>
</div>
<p>I think this is confusing since it is written backwards to a SQL programmer, so it reads &#8220;does this list of things contain the value?&#8221; instead of &#8220;is the value in this list of things?&#8221; as we are used to in SQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=245</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2012-01-01</title>
		<link>http://pcurd.co.uk/?p=249&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2012-01-01</link>
		<comments>http://pcurd.co.uk/?p=249#comments</comments>
		<pubDate>Sun, 01 Jan 2012 12:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=249</guid>
		<description><![CDATA[Not impressed with Christmas Doctor Who, rubbish story full of &#34;what? Why did they do that?&#34;. Makes me less likely to watch the last season. # For those non Commonwealth citizens reading this: yes, Boxing Day is when the British gave gifts &#8211; to our servants. Now it&#039;s just a day off! # Happy New [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Not impressed with Christmas Doctor Who, rubbish story full of &quot;what? Why did they do that?&quot;. Makes me less likely to watch the last season. <a href="http://twitter.com/PCurd/statuses/151326033726017537" class="aktt_tweet_time">#</a></li>
<li>For those non Commonwealth citizens reading this: yes, Boxing Day is when the British gave gifts &#8211; to our servants. Now it&#039;s just a day off! <a href="http://twitter.com/PCurd/statuses/151327843597549569" class="aktt_tweet_time">#</a></li>
<li>Happy New Year all! <a href="http://twitter.com/PCurd/statuses/153267521443737600" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=249</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-12-25</title>
		<link>http://pcurd.co.uk/?p=248&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-12-25</link>
		<comments>http://pcurd.co.uk/?p=248#comments</comments>
		<pubDate>Sun, 25 Dec 2011 12:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=248</guid>
		<description><![CDATA[Merry Christmas all! And to all, a good night! # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Merry Christmas all! And to all, a good night! <a href="http://twitter.com/PCurd/statuses/150738760450048002" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=248</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-12-18</title>
		<link>http://pcurd.co.uk/?p=247&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-12-18</link>
		<comments>http://pcurd.co.uk/?p=247#comments</comments>
		<pubDate>Sun, 18 Dec 2011 12:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=247</guid>
		<description><![CDATA[You know you&#039;re not going to enjoy a system change when the spec gives you a paper cut. #ouch # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>You know you&#039;re not going to enjoy a system change when the spec gives you a paper cut. #<a href="http://search.twitter.com/search?q=%23ouch" class="aktt_hashtag">ouch</a> <a href="http://twitter.com/PCurd/statuses/146279487686971393" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=247</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-12-04</title>
		<link>http://pcurd.co.uk/?p=244&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-12-04</link>
		<comments>http://pcurd.co.uk/?p=244#comments</comments>
		<pubDate>Sun, 04 Dec 2011 12:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=244</guid>
		<description><![CDATA[I just got interviewed for the Reading 107 breakfast show tomorrow. Listen in for my opinions on Christmas Lights on houses! # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>I just got interviewed for the Reading 107 breakfast show tomorrow. Listen in for my opinions on Christmas Lights on houses! <img src='http://pcurd.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  <a href="http://twitter.com/PCurd/statuses/142218065105522688" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=244</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-11-13</title>
		<link>http://pcurd.co.uk/?p=243&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-11-13</link>
		<comments>http://pcurd.co.uk/?p=243#comments</comments>
		<pubDate>Sun, 13 Nov 2011 12:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=243</guid>
		<description><![CDATA[I&#039;ve just formally accepted a promotion to deputy manager of IT Administration &#8211; I am now allowed to wear patterned socks to work. #Whoop # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>I&#039;ve just formally accepted a promotion to deputy manager of IT Administration &#8211; I am now allowed to wear patterned socks to work. #<a href="http://search.twitter.com/search?q=%23Whoop" class="aktt_hashtag">Whoop</a> <a href="http://twitter.com/PCurd/statuses/135057409252134912" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=243</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-10-30</title>
		<link>http://pcurd.co.uk/?p=242&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-10-30</link>
		<comments>http://pcurd.co.uk/?p=242#comments</comments>
		<pubDate>Sun, 30 Oct 2011 12:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=242</guid>
		<description><![CDATA[I NEED MORE BULLETS! I only scored 4874 in Wonton 51 #Wonton51 # On route to #londonexpo &#8211; apparently people are there already! And I thought I&#039;d be early! # Entry to #londonexpo in N6! Those with tickets as well as ticket sales. In the queue now! @MCMExpo @londonexpo # .@QCPGameworks save some stickers for [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>I NEED MORE BULLETS! I only scored 4874 in Wonton 51 #<a href="http://search.twitter.com/search?q=%23Wonton51" class="aktt_hashtag">Wonton51</a> <a href="http://twitter.com/PCurd/statuses/129137994035757057" class="aktt_tweet_time">#</a></li>
<li>On route to #<a href="http://search.twitter.com/search?q=%23londonexpo" class="aktt_hashtag">londonexpo</a> &#8211; apparently people are there already! And I thought I&#039;d be early! <a href="http://twitter.com/PCurd/statuses/130165546716106752" class="aktt_tweet_time">#</a></li>
<li>Entry to #<a href="http://search.twitter.com/search?q=%23londonexpo" class="aktt_hashtag">londonexpo</a> in N6! Those with tickets as well as ticket sales. In the queue now! @<a href="http://twitter.com/MCMExpo" class="aktt_username">MCMExpo</a> @londonexpo <a href="http://twitter.com/PCurd/statuses/130189986048909312" class="aktt_tweet_time">#</a></li>
<li>.@QCPGameworks save some stickers for me! #<a href="http://search.twitter.com/search?q=%23londonexpo" class="aktt_hashtag">londonexpo</a> <a href="http://twitter.com/PCurd/statuses/130190123299119104" class="aktt_tweet_time">#</a></li>
<li>Past security at #<a href="http://search.twitter.com/search?q=%23londonexpo" class="aktt_hashtag">londonexpo</a> now waiting for a wristband I think&#8230; Seems to be three layers of queuing &#8211; terribly British. I love it. <a href="http://twitter.com/PCurd/statuses/130191525375254528" class="aktt_tweet_time">#</a></li>
<li>I have a wristband and a goodie bag! #<a href="http://search.twitter.com/search?q=%23londonexpo" class="aktt_hashtag">londonexpo</a> <a href="http://twitter.com/PCurd/statuses/130193554852163584" class="aktt_tweet_time">#</a></li>
<li>MCM Expo &#8211; London Comic Con (@ ExCeL London w/ 14 others) [pic]: <a href="http://t.co/tM0m0gmI" rel="nofollow">http://t.co/tM0m0gmI</a> <a href="http://twitter.com/PCurd/statuses/130196417456259073" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=242</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-10-09</title>
		<link>http://pcurd.co.uk/?p=241&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-10-09</link>
		<comments>http://pcurd.co.uk/?p=241#comments</comments>
		<pubDate>Sun, 09 Oct 2011 11:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=241</guid>
		<description><![CDATA[Read two chapters of #CSharpInDepth by @jonskeet, cut 16 pages of #EF generated SQL to 1 page. Thanks Jon! #AverageDay # Loosing a visionary who changed everything from the way we talk to each other to how we define successful is tragic. We&#039;ll miss #SteveJobs # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Read two chapters of #<a href="http://search.twitter.com/search?q=%23CSharpInDepth" class="aktt_hashtag">CSharpInDepth</a> by @<a href="http://twitter.com/jonskeet" class="aktt_username">jonskeet</a>, cut 16 pages of #<a href="http://search.twitter.com/search?q=%23EF" class="aktt_hashtag">EF</a> generated SQL to 1 page. Thanks Jon! #<a href="http://search.twitter.com/search?q=%23AverageDay" class="aktt_hashtag">AverageDay</a> <a href="http://twitter.com/PCurd/statuses/121583309808611329" class="aktt_tweet_time">#</a></li>
<li>Loosing a visionary who changed everything from the way we talk to each other to how we define successful is tragic. We&#039;ll miss #<a href="http://search.twitter.com/search?q=%23SteveJobs" class="aktt_hashtag">SteveJobs</a> <a href="http://twitter.com/PCurd/statuses/121862162657443841" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=241</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-09-18</title>
		<link>http://pcurd.co.uk/?p=240&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-09-18</link>
		<comments>http://pcurd.co.uk/?p=240#comments</comments>
		<pubDate>Sun, 18 Sep 2011 11:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=240</guid>
		<description><![CDATA[Rumours of my untimely demise are greatly exaggerated. But yes, I do think @NaturalCon pushed me. I don&#039;t care if she was in front. #OW # Royal County of Berkshire Show calls today, running a bit late as my sleep and stomach emptiness disagreed with my alarm clock. # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Rumours of my untimely demise are greatly exaggerated. But yes, I do think @<a href="http://twitter.com/NaturalCon" class="aktt_username">NaturalCon</a> pushed me. I don&#039;t care if she was in front. <img src='http://pcurd.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  #<a href="http://search.twitter.com/search?q=%23OW" class="aktt_hashtag">OW</a> <a href="http://twitter.com/PCurd/statuses/113053290505314304" class="aktt_tweet_time">#</a></li>
<li>Royal County of Berkshire Show calls today, running a bit late as my sleep and stomach emptiness disagreed with my alarm clock. <a href="http://twitter.com/PCurd/statuses/115339701262614528" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=240</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Weekly Updates for 2011-09-11</title>
		<link>http://pcurd.co.uk/?p=239&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-weekly-updates-for-2011-09-11</link>
		<comments>http://pcurd.co.uk/?p=239#comments</comments>
		<pubDate>Sun, 11 Sep 2011 11:00:00 +0000</pubDate>
		<dc:creator>pcurd</dc:creator>
				<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://pcurd.co.uk/?p=239</guid>
		<description><![CDATA[RT @Plip: If you work for a charity and need some free tech help I have two days left this year to donate. Anyone want them? @phil_crabtree # Can anyone recommend a decent command line SFTP client for Windows? #Lazyweb # Powered by Twitter Tools]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>RT @<a href="http://twitter.com/Plip" class="aktt_username">Plip</a>: If you work for a charity and need some free tech help I have two days left this year to donate. Anyone want them? @<a href="http://twitter.com/phil_crabtree" class="aktt_username">phil_crabtree</a> <a href="http://twitter.com/PCurd/statuses/111052966097727489" class="aktt_tweet_time">#</a></li>
<li>Can anyone recommend a decent command line SFTP client for Windows? #<a href="http://search.twitter.com/search?q=%23Lazyweb" class="aktt_hashtag">Lazyweb</a> <a href="http://twitter.com/PCurd/statuses/111764118725341184" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pcurd.co.uk/?feed=rss2&#038;p=239</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
