<?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: Dynamic Linq with Expression Trees</title>
	<atom:link href="http://www.marcuswhitworth.com/2009/12/dynamic-linq-with-expression-trees/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcuswhitworth.com/2009/12/dynamic-linq-with-expression-trees/</link>
	<description>Marcus Whitworth&#039;s tech blog – .NET, C#, Silverlight, WPF, Flex…etc, etc</description>
	<lastBuildDate>Wed, 02 Dec 2009 23:28:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marcus</title>
		<link>http://www.marcuswhitworth.com/2009/12/dynamic-linq-with-expression-trees/comment-page-1/#comment-10</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Wed, 02 Dec 2009 23:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcuswhitworth.com/?p=106#comment-10</guid>
		<description>&lt;blockquote&gt;&lt;em&gt;In the UI you show, how do you select both London &amp; NY. That doesn’t seem to work the code either.&lt;/em&gt;&lt;/blockquote&gt;

That&#039;s not yet a requirement, but if/when it is, I&#039;d need to introduce some logic like PredicateBuilder in the back end, and some optional rule grouping by &#039;OR/AND&#039; in the client UI to enable it.</description>
		<content:encoded><![CDATA[<blockquote><p><em>In the UI you show, how do you select both London &amp; NY. That doesn’t seem to work the code either.</em></p></blockquote>
<p>That&#8217;s not yet a requirement, but if/when it is, I&#8217;d need to introduce some logic like PredicateBuilder in the back end, and some optional rule grouping by &#8216;OR/AND&#8217; in the client UI to enable it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Goldman</title>
		<link>http://www.marcuswhitworth.com/2009/12/dynamic-linq-with-expression-trees/comment-page-1/#comment-9</link>
		<dc:creator>Aaron Goldman</dc:creator>
		<pubDate>Wed, 02 Dec 2009 20:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcuswhitworth.com/?p=106#comment-9</guid>
		<description>This is a cool demonstration of expression tree building.  I have to do this sometime.

I have almost the exact same requirement in my current project.  My data is in arrays, so in a way its more straightforward.  

I created 2 filter types - 1 for enums and 1 for range filtering.  Everything is bound to a WPF UI so when the user selects the field, they&#039;re also selecting the index into the array (as a property of the Field type).  Also, the user selects in a slider for ranges and a list for enums.  In the UI you show, how do you select both London &amp; NY.  That doesn&#039;t seem to work the code either.

In the end, my filtering in Linq looks very similar to yours and the whole system is nearly logically identical.</description>
		<content:encoded><![CDATA[<p>This is a cool demonstration of expression tree building.  I have to do this sometime.</p>
<p>I have almost the exact same requirement in my current project.  My data is in arrays, so in a way its more straightforward.  </p>
<p>I created 2 filter types &#8211; 1 for enums and 1 for range filtering.  Everything is bound to a WPF UI so when the user selects the field, they&#8217;re also selecting the index into the array (as a property of the Field type).  Also, the user selects in a slider for ranges and a list for enums.  In the UI you show, how do you select both London &amp; NY.  That doesn&#8217;t seem to work the code either.</p>
<p>In the end, my filtering in Linq looks very similar to yours and the whole system is nearly logically identical.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
