<?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: Getting Around Some Anonymous Type Headaches with Dynamic LINQ</title>
	<atom:link href="http://www.sullivansoftdev.com/blog/2009/09/19/getting-around-some-anonymous-type-headaches-with-dynamic-linq/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sullivansoftdev.com/blog/2009/09/19/getting-around-some-anonymous-type-headaches-with-dynamic-linq/</link>
	<description>From one geek to another</description>
	<lastBuildDate>Thu, 20 May 2010 21:21:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Brian</title>
		<link>http://www.sullivansoftdev.com/blog/2009/09/19/getting-around-some-anonymous-type-headaches-with-dynamic-linq/comment-page-1/#comment-181</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Wed, 07 Oct 2009 22:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sullivansoftdev.com/blog/?p=136#comment-181</guid>
		<description>@Kshitij

You can always get an IEnumerable from an IQueryable, but not by casting.  There&#039;s actually an extension method on IQueryable called &quot;AsEnumerable()&quot;, and a corresponding extension method on IEnumerable called &quot;AsQueryable()&quot;, so you can switch back and forth to your heart&#039;s content.  Translating back and forth doesn&#039;t cause the query to be executed, either.  That doesn&#039;t happen until you actually enumerate the collection by doing a foreach over it or calling ToList() or ToArray() on it.

Brian</description>
		<content:encoded><![CDATA[<p>@Kshitij</p>
<p>You can always get an IEnumerable from an IQueryable, but not by casting.  There&#8217;s actually an extension method on IQueryable called &#8220;AsEnumerable()&#8221;, and a corresponding extension method on IEnumerable called &#8220;AsQueryable()&#8221;, so you can switch back and forth to your heart&#8217;s content.  Translating back and forth doesn&#8217;t cause the query to be executed, either.  That doesn&#8217;t happen until you actually enumerate the collection by doing a foreach over it or calling ToList() or ToArray() on it.</p>
<p>Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kshitij</title>
		<link>http://www.sullivansoftdev.com/blog/2009/09/19/getting-around-some-anonymous-type-headaches-with-dynamic-linq/comment-page-1/#comment-180</link>
		<dc:creator>Kshitij</dc:creator>
		<pubDate>Tue, 06 Oct 2009 22:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sullivansoftdev.com/blog/?p=136#comment-180</guid>
		<description>Can you cast the Linq result using Cast() to IEnumerable?

do you have to pass it as IQueryable?

I have not played with Linq to Sql, so this might be a nooption.

Just asking.

Kshitij</description>
		<content:encoded><![CDATA[<p>Can you cast the Linq result using Cast() to IEnumerable?</p>
<p>do you have to pass it as IQueryable?</p>
<p>I have not played with Linq to Sql, so this might be a nooption.</p>
<p>Just asking.</p>
<p>Kshitij</p>
]]></content:encoded>
	</item>
</channel>
</rss>
