<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>
			Comments at DigitallyCreated Blog (for blogs tagged: &quot;LINQ&quot;)
		</title>
		<link>http://www.digitallycreated.net/Blog/Tags/LINQ/CommentRss</link>
		<atom:link href="http://www.digitallycreated.net/Blog/Tags/LINQ/CommentRss" rel="self" type="application/rss+xml" />
		<description>
			A feed of all comments that are posted on any blog at DigitallyCreated that is tagged with &quot;LINQ&quot;.
		</description>
		<lastBuildDate>Sun, 05 Feb 2012 13:09:06 GMT</lastBuildDate>
		
		
			<item>
				<title>Adalton commented on &quot;More Dynamic Queries using Expression Trees&quot;</title>
				<link>http://www.digitallycreated.net/Blog/62/more-dynamic-queries-using-expression-trees#Comment57</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 57</guid>
				<dc:creator>Adalton</dc:creator>
				<pubDate>Thu, 08 Sep 2011 17:46:49 GMT</pubDate>
				<description>
					This example is fantastic. Congratulations!!!&lt;br/&gt;&lt;br/&gt;I have a doubt. In this example, you put only Equal condition.&lt;br/&gt;&lt;br/&gt;In my scenario, I'd like put the LIKE Command. For example, tag.Name Like &amp;quot;abc&amp;quot;.&lt;br/&gt;&lt;br/&gt;Again, congratulations!!!
				</description>
			</item>
		
		
			<item>
				<title>bbqchickenrobot commented on &quot;Dynamic Queries in Entity Framework using Expression Trees&quot;</title>
				<link>http://www.digitallycreated.net/Blog/37/dynamic-queries-in-entity-framework-using-expression-trees#Comment49</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 49</guid>
				<dc:creator>bbqchickenrobot</dc:creator>
				<pubDate>Mon, 08 Aug 2011 13:23:59 GMT</pubDate>
				<description>
					Ok, answered my own question... the answer is yes. You can create multiple where clauses and chain them. Another question would be how to do and clauses... 
				</description>
			</item>
		
		
			<item>
				<title>bbqchickenrobot commented on &quot;Dynamic Queries in Entity Framework using Expression Trees&quot;</title>
				<link>http://www.digitallycreated.net/Blog/37/dynamic-queries-in-entity-framework-using-expression-trees#Comment48</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 48</guid>
				<dc:creator>bbqchickenrobot</dc:creator>
				<pubDate>Mon, 08 Aug 2011 13:09:41 GMT</pubDate>
				<description>
					So, let's say you have multiple parameters for the where clause... how would one go about implementing that? Is it as simple as creating two where expressions? Great blog post!
				</description>
			</item>
		
		
			<item>
				<title>Daniel Chambers commented on &quot;More Lessons from the LINQ Database Query Performance Land&quot;</title>
				<link>http://www.digitallycreated.net/Blog/68/more-lessons-from-the-linq-database-query-performance-land#Comment44</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 44</guid>
				<dc:creator>Daniel Chambers</dc:creator>
				<pubDate>Thu, 21 Jul 2011 05:56:48 GMT</pubDate>
				<description>
					@Simon: Yes, convoluting your LINQ can degrade your maintainability, however, you might be able to improve the maintainability of the LINQ queries where you've done weird esoteric hacks (such as the ones discussed in the previous blog post I linked at the top of this one) by using an expression rewriter like the one I discussed here:&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.digitallycreated.net/Blog/66/sweeping-yucky-linq-queries-under-the-rug-with-expression-tree-rewriting&quot;&gt;http://www.digitallycreated.net/Blog/66/sweeping-yucky-linq-queries-under-the-rug-with-expression-tree-rewriting&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;However, with respect to this blog post, I wouldn't consider the alternative query structure proposed here unmaintainable. In fact, it looks very much like SQL! Your only issue is communicating why the query has been written that way and not some other way, which a process of LINQ best practices education amongst your developers would help with.
				</description>
			</item>
		
		
			<item>
				<title>Simon Raik-Allen commented on &quot;More Lessons from the LINQ Database Query Performance Land&quot;</title>
				<link>http://www.digitallycreated.net/Blog/68/more-lessons-from-the-linq-database-query-performance-land#Comment43</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 43</guid>
				<dc:creator>Simon Raik-Allen</dc:creator>
				<pubDate>Thu, 21 Jul 2011 01:41:46 GMT</pubDate>
				<description>
					On the flip side, convoluting your source to effect the output could degrade its maintainability. Not that that will always be the case, but its another thing to add to the balancing act. Damned if you do, damned if you don't :-)&lt;br/&gt;&lt;br/&gt;A Linq2Sql cheat sheet for these tips would be cool.&lt;br/&gt;&lt;br/&gt;Thanks, again.
				</description>
			</item>
		
		
			<item>
				<title>Daniel Chambers commented on &quot;More Lessons from the LINQ Database Query Performance Land&quot;</title>
				<link>http://www.digitallycreated.net/Blog/68/more-lessons-from-the-linq-database-query-performance-land#Comment42</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 42</guid>
				<dc:creator>Daniel Chambers</dc:creator>
				<pubDate>Thu, 21 Jul 2011 00:09:13 GMT</pubDate>
				<description>
					@Simon: Short answer: it depends. :)&lt;br/&gt;&lt;br/&gt;Long answer: It depends (ha!) just how much pain LINQ is giving you, and how difficult it is to fit SQL into your application. Entity Framework lessens the pain as the LINQ query provider is better. L2S and EF both support compiled queries, so you can reduce the performance impact of using LINQ. At the end of the day, however, if you simply can't get LINQ to generate reasonably performing SQL (note that I didn't say &amp;quot;neat&amp;quot; SQL; who cares what it looks like so long as it performs acceptably) you've always got the option of hooking stored procedures into either L2S or EF. My experience with LINQ so far is that you can almost always get it to write decent SQL... with some tweaks to the LINQ. And as you discover and learn these tweaks, your productivity in LINQ increases. L2S is harder to get right, as it'll happily do stupid stuff like N+1 queries generated from your one LINQ query. EF won't do that, which helps immensely.
				</description>
			</item>
		
		
			<item>
				<title>Simon Raik-Allen commented on &quot;More Lessons from the LINQ Database Query Performance Land&quot;</title>
				<link>http://www.digitallycreated.net/Blog/68/more-lessons-from-the-linq-database-query-performance-land#Comment41</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 41</guid>
				<dc:creator>Simon Raik-Allen</dc:creator>
				<pubDate>Wed, 20 Jul 2011 10:11:59 GMT</pubDate>
				<description>
					Nice post Daniel. I tend to find myself falling back to writing manual SQL for basically anything of importance (i.e., pulls lots of data or is called often). &lt;br/&gt;&lt;br/&gt;What is your guideline for when to intervene with hand-crafted queries?
				</description>
			</item>
		
		
			<item>
				<title>Daniel Chambers commented on &quot;Sweeping Yucky LINQ Queries Under the Rug with Expression Tree Rewriting&quot;</title>
				<link>http://www.digitallycreated.net/Blog/66/sweeping-yucky-linq-queries-under-the-rug-with-expression-tree-rewriting#Comment33</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 33</guid>
				<dc:creator>Daniel Chambers</dc:creator>
				<pubDate>Tue, 03 May 2011 06:43:45 GMT</pubDate>
				<description>
					As a spelling and grammar Nazi myself, I feel honour-bound to fix this. Thanks :)
				</description>
			</item>
		
		
			<item>
				<title>Patagonian Toothfish commented on &quot;Sweeping Yucky LINQ Queries Under the Rug with Expression Tree Rewriting&quot;</title>
				<link>http://www.digitallycreated.net/Blog/66/sweeping-yucky-linq-queries-under-the-rug-with-expression-tree-rewriting#Comment32</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 32</guid>
				<dc:creator>Patagonian Toothfish</dc:creator>
				<pubDate>Tue, 03 May 2011 00:10:30 GMT</pubDate>
				<description>
					Nicely done!&lt;br/&gt;&lt;br/&gt;Just one little nitpicky comment - the verb form of recursion is 'recur', not 'recurse' :)&lt;br/&gt;&lt;br/&gt;Otherwise, a brilliant post...&lt;br/&gt;&lt;br/&gt;-J
				</description>
			</item>
		
		
		
	</channel>
</rss>

