<?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: LINQ Expression Trees and the Specification Pattern</title>
	<atom:link href="http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/</link>
	<description>A Developer's Melting Pot: LINQ to SQL, Entity Framework, .NET Security...</description>
	<lastBuildDate>Mon, 23 Aug 2010 19:55:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Marcio</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-29388</link>
		<dc:creator>Marcio</dc:creator>
		<pubDate>Tue, 08 Jun 2010 13:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-29388</guid>
		<description>This post was very useful. I&#039;m a Java Developer getting started with .NET and I was curious about how to implement the specification pattern on .NET. The LINQ framework and C# language are more flexible than Java Persistence API to implement this pattern.

Thanks.</description>
		<content:encoded><![CDATA[<p>This post was very useful. I&#8217;m a Java Developer getting started with .NET and I was curious about how to implement the specification pattern on .NET. The LINQ framework and C# language are more flexible than Java Persistence API to implement this pattern.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-27595</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 05 May 2010 23:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-27595</guid>
		<description>Hi! again!
so &quot;Product&quot; is NOT on your entity model?
So your Specification returns an expression not a bool (as per the original intention of the specification pattern)??

Your specifications are tied to Implementations and not interfaces correct?

How would you do it would interfaces?
I&#039;m more interested in the repository  layer


Thanks</description>
		<content:encoded><![CDATA[<p>Hi! again!<br />
so &#8220;Product&#8221; is NOT on your entity model?<br />
So your Specification returns an expression not a bool (as per the original intention of the specification pattern)??</p>
<p>Your specifications are tied to Implementations and not interfaces correct?</p>
<p>How would you do it would interfaces?<br />
I&#8217;m more interested in the repository  layer</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-26782</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Sat, 01 May 2010 00:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-26782</guid>
		<description>No, since Product is a domain object I can write it myself without worrying about what O/RM or storage engine I use.</description>
		<content:encoded><![CDATA[<p>No, since Product is a domain object I can write it myself without worrying about what O/RM or storage engine I use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-26466</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 29 Apr 2010 11:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-26466</guid>
		<description>I&#039;m assuming from the code above that Product is a domain object. Is this also the &quot;Product&quot; in entity framework tables..??
Are you not tying yourself to the storage implementation?</description>
		<content:encoded><![CDATA[<p>I&#8217;m assuming from the code above that Product is a domain object. Is this also the &#8220;Product&#8221; in entity framework tables..??<br />
Are you not tying yourself to the storage implementation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-19120</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Wed, 03 Feb 2010 02:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-19120</guid>
		<description>Unai, this is why Colin&#039;s method rebinds the parameters in the expression manually instead of using Expression.Invoke for EF.</description>
		<content:encoded><![CDATA[<p>Unai, this is why Colin&#8217;s method rebinds the parameters in the expression manually instead of using Expression.Invoke for EF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unai</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-19105</link>
		<dc:creator>Unai</dc:creator>
		<pubDate>Tue, 02 Feb 2010 22:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-19105</guid>
		<description>This And, Or operators using Invoke method in expressions and this method is not supported in EF 1 or EF 4

Best regards,
Unai</description>
		<content:encoded><![CDATA[<p>This And, Or operators using Invoke method in expressions and this method is not supported in EF 1 or EF 4</p>
<p>Best regards,<br />
Unai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-13778</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Thu, 03 Dec 2009 01:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-13778</guid>
		<description>Do you have the Or extension method defined in your code? It&#039;s from Colin Meek&#039;s blog post &lt;a href=&quot;http://blogs.msdn.com/meek/archive/2008/05/02/linq-to-entities-combining-predicates.aspx&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Do you have the Or extension method defined in your code? It&#8217;s from Colin Meek&#8217;s blog post <a href="http://blogs.msdn.com/meek/archive/2008/05/02/linq-to-entities-combining-predicates.aspx" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marco souza</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-13719</link>
		<dc:creator>marco souza</dc:creator>
		<pubDate>Wed, 02 Dec 2009 06:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-13719</guid>
		<description>Hello, I am following your example, but ta experiencing an error when I try
make the following code

this.spec1.IsSatisfied return (). Or (this.spec2.IsSatisfied ());</description>
		<content:encoded><![CDATA[<p>Hello, I am following your example, but ta experiencing an error when I try<br />
make the following code</p>
<p>this.spec1.IsSatisfied return (). Or (this.spec2.IsSatisfied ());</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-10823</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Sun, 04 Oct 2009 00:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-10823</guid>
		<description>I haven&#039;t developed in Java for some time now, but a quick search reveals the &lt;a href=&quot;http://www.theserverside.com/news/thread.tss?thread_id=46887&quot; rel=&quot;nofollow&quot;&gt;Quaere project&lt;/a&gt; that is aiming to develop something similar to LINQ in Java. However, I am not sure there is anything that is quite as rich as the .NET implementation (which allows translations of these expression trees to any data source, like a relational database) that would allow you to compose these expressions into a SQL query.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t developed in Java for some time now, but a quick search reveals the <a href="http://www.theserverside.com/news/thread.tss?thread_id=46887" rel="nofollow">Quaere project</a> that is aiming to develop something similar to LINQ in Java. However, I am not sure there is anything that is quite as rich as the .NET implementation (which allows translations of these expression trees to any data source, like a relational database) that would allow you to compose these expressions into a SQL query.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inanc Gumus</title>
		<link>http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/comment-page-1/#comment-10812</link>
		<dc:creator>Inanc Gumus</dc:creator>
		<pubDate>Fri, 02 Oct 2009 21:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/2009/05/31/linq-expression-trees-and-the-specification-pattern/#comment-10812</guid>
		<description>Hello David,

Do you know any implementation like this in Java?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello David,</p>
<p>Do you know any implementation like this in Java?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
