<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - published linq stories</title>
    <description>the latest published linq stories from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>String Matching in LINQ</title>
      <description>Performing simple string equality tests is often not enough when application user convenience is key. Often only a fragment of a string is known to the user, or many of them. Sometimes there is a need to search for a fragment in multiple columns.
Which options does OpenAccess and LINQ provide to perform string matching? Into which SQL is the LINQ expression translated? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.telerik.com%2fblogs%2fposts%2f12-04-17%2fstring-matching-in-linq.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.telerik.com%2fblogs%2fposts%2f12-04-17%2fstring-matching-in-linq.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/String_Matching_in_LINQ</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/String_Matching_in_LINQ</guid>
      <pubDate>Tue, 24 Apr 2012 13:27:58 GMT</pubDate>
    </item>
    <item>
      <title>Difference between SkipWhile and Where in linq</title>
      <description>Before some time I have written a blog post about the SkipWhile operator and a reader of my blog asked me that we can do the same thing with Where also but there is a difference between this two. So In this post I am going to explain you difference between those two.

Where operator filters a list of collection based on condition. It will filter whole collection while SkipWhile will only skip those elements in list until condition is true and after that it will stop filtering of skipping. Now let's take an example where we can see the difference between Where and SkipWhile. Following is a code for that. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.dotnetjalps.com%2f2012%2f04%2fdifference-between-skipwhile-and-where.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.dotnetjalps.com%2f2012%2f04%2fdifference-between-skipwhile-and-where.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Difference_between_SkipWhile_and_Where_in_linq</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Difference_between_SkipWhile_and_Where_in_linq</guid>
      <pubDate>Tue, 17 Apr 2012 13:41:40 GMT</pubDate>
    </item>
    <item>
      <title>SkipWhile Method in Linq</title>
      <description>I have been playing around linq and I have found great method call SkipWhile method. SkipWhile methods skips particular element which matches condition in predicate this can be use full in condition where we need to skip elements on particular condition.

So let's take some example. I have written following console application code. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.dotnetjalps.com%2f2012%2f04%2fskipwhile-method-in-linq.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.dotnetjalps.com%2f2012%2f04%2fskipwhile-method-in-linq.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/SkipWhile_Method_in_Linq</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/SkipWhile_Method_in_Linq</guid>
      <pubDate>Mon, 16 Apr 2012 09:59:10 GMT</pubDate>
    </item>
    <item>
      <title>TakeWhile operator in linq</title>
      <description>In this post I am going to explain TakeWhile Operator in details. TakeWhile is one of partitioning operator available in Linq. It will take sequence until condition becomes false. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.dotnetjalps.com%2f2012%2f04%2ftakewhile-operator-in-linq.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.dotnetjalps.com%2f2012%2f04%2ftakewhile-operator-in-linq.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/TakeWhile_operator_in_linq</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/TakeWhile_operator_in_linq</guid>
      <pubDate>Mon, 16 Apr 2012 09:59:10 GMT</pubDate>
    </item>
    <item>
      <title>LOLCode Parser</title>
      <description>LOLCode parser and compiler.  Now your cat can code for you. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fchriscavanagh.wordpress.com%2f2012%2f03%2f19%2flolcode-parser%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fchriscavanagh.wordpress.com%2f2012%2f03%2f19%2flolcode-parser%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/LOLCode_Parser</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/LOLCode_Parser</guid>
      <pubDate>Wed, 21 Mar 2012 23:37:06 GMT</pubDate>
    </item>
    <item>
      <title>Add a visual Linq expression builder to your app today!</title>
      <description>Rabb Moshe Plotkin has created and open-sourced a control for creating Linq queries visually. Using this control, you can give your users the power to query data, rather than writing canned reports or queries. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.codeproject.com%2fArticles%2f90589%2fVisual-Expression-Builder-for-Dynamic-Linq"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.codeproject.com%2fArticles%2f90589%2fVisual-Expression-Builder-for-Dynamic-Linq" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Add_a_visual_Linq_expression_builder_to_your_app_today</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Add_a_visual_Linq_expression_builder_to_your_app_today</guid>
      <pubDate>Fri, 03 Feb 2012 23:44:34 GMT</pubDate>
    </item>
    <item>
      <title>A Generic Equality Comparer for LINQ</title>
      <description>LINQ operators generally use lambda expressions to control their processing and output. Some operators use IEqualityComparer&amp;lt;T&amp;gt; implementations to compare values. This article describes a generic comparer, driven by delegates, designed for use in queries. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.blackwasp.co.uk%2fLambdaEqualityComparer.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.blackwasp.co.uk%2fLambdaEqualityComparer.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/A_Generic_Equality_Comparer_for_LINQ</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/A_Generic_Equality_Comparer_for_LINQ</guid>
      <pubDate>Tue, 17 Jan 2012 14:26:20 GMT</pubDate>
    </item>
    <item>
      <title>Monadic Philosophy Part 2 - The LINQ Monad</title>
      <description>If you don't come from a math or philosophy background (and I don't) &amp;quot;monad&amp;quot; sounds like a made-up word. Of course, understanding OO's use of terms like &amp;quot;class&amp;quot; and &amp;quot;object&amp;quot; can be hard to grok at first too. But at least those terms have some grounding in real-world concepts that non-math geeks come across. Because I couldn't draw an analogy of monads to anything at first, it made grasping the concept of monads very hard for me. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdevhawk.net%2f2008%2f07%2f30%2fmonadic-philosophy-part-2-the-linq-monad%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdevhawk.net%2f2008%2f07%2f30%2fmonadic-philosophy-part-2-the-linq-monad%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Monadic_Philosophy_Part_2_The_LINQ_Monad</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Monadic_Philosophy_Part_2_The_LINQ_Monad</guid>
      <pubDate>Fri, 06 Jan 2012 14:40:27 GMT</pubDate>
    </item>
    <item>
      <title>Seeing the SQL Generated by LINQ to Entity Queries -- Visual Studio Ma</title>
      <description>Sometimes you really, really, really want to see the SQL that LINQ generates when working with the Entity Framework. There is a really simple way to do this using the immediate window that does not involve installing a profiler. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fvisualstudiomagazine.com%2fBlogs%2fTool-Tracker%2f2011%2f11%2fSeeing-the-SQL.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fvisualstudiomagazine.com%2fBlogs%2fTool-Tracker%2f2011%2f11%2fSeeing-the-SQL.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Seeing_the_SQL_Generated_by_LINQ_to_Entity_Queries_Visual_Studio_Ma</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Seeing_the_SQL_Generated_by_LINQ_to_Entity_Queries_Visual_Studio_Ma</guid>
      <pubDate>Mon, 12 Dec 2011 16:03:46 GMT</pubDate>
    </item>
    <item>
      <title>Architecting Your Data Access Layer with the Entity Framework</title>
      <description>I had the pleasure to co-present with one of my fellow evangelists, Dave Bost, on architecting and developing with the ADO.NET Entity Framework this week.  I focused on application architecture topics while Dave focused on developing applications. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.wadewegner.com%2f2009%2f06%2farchitecting-your-data-access-layer-with-the-entity-framework%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.wadewegner.com%2f2009%2f06%2farchitecting-your-data-access-layer-with-the-entity-framework%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Architecting_Your_Data_Access_Layer_with_the_Entity_Framework</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Architecting_Your_Data_Access_Layer_with_the_Entity_Framework</guid>
      <pubDate>Sat, 03 Dec 2011 03:32:25 GMT</pubDate>
    </item>
    <item>
      <title>NHibernate.Linq Pitfalls: Casting</title>
      <description>One thing that needs to be always remembered when writing NHibernate.Linq queries is that it is going to be translated into SQL eventually. What this means is that we can't do everything in our Select or Where conditions - we are restricted by the capabilities of underlying database and SQL language itself. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnotherdev.blogspot.com%2f2011%2f10%2flinq-pitfalls-casting.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnotherdev.blogspot.com%2f2011%2f10%2flinq-pitfalls-casting.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/NHibernate_Linq_Pitfalls_Casting</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/NHibernate_Linq_Pitfalls_Casting</guid>
      <pubDate>Mon, 31 Oct 2011 15:31:32 GMT</pubDate>
    </item>
    <item>
      <title>Dynamic Lambda Expression For Sorting A List / Collection Using Comple</title>
      <description>In my previous post we discussed on sorting the list / collection using dynamic lambda expression for properties. In this article we will see how to sort on complex properties.

So what is a complex property. Consider the class diagram as shown below

In our scenario, we have "Employee" entity, where we have a property "Department" which is a complex type. Now let us assume that we are binding the list of employees list along with the department name, then we will have to use item template along with "Bind" method called.
 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.jebarson.info%2fpost%2f2011%2f08%2f25%2fDynamic-Lambda-Expression-For-Sorting-A-List-Collection-Using-Complex-Types-Without-Implementing-IComparable.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.jebarson.info%2fpost%2f2011%2f08%2f25%2fDynamic-Lambda-Expression-For-Sorting-A-List-Collection-Using-Complex-Types-Without-Implementing-IComparable.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Dynamic_Lambda_Expression_For_Sorting_A_List_Collection_Using_Comple</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Dynamic_Lambda_Expression_For_Sorting_A_List_Collection_Using_Comple</guid>
      <pubDate>Thu, 25 Aug 2011 20:57:53 GMT</pubDate>
    </item>
    <item>
      <title>Dynamic OrderBy using LINQ to SQL</title>
      <description>Dynamically ordering your data when using LINQ to SQL as a backend &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.craigwardman.com%2fblog%2findex.php%2f2011%2f08%2fdynamic-orderby-using-linq-to-sql%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.craigwardman.com%2fblog%2findex.php%2f2011%2f08%2fdynamic-orderby-using-linq-to-sql%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Dynamic_OrderBy_using_LINQ_to_SQL</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Dynamic_OrderBy_using_LINQ_to_SQL</guid>
      <pubDate>Wed, 24 Aug 2011 20:33:21 GMT</pubDate>
    </item>
    <item>
      <title>LINQ - Comparing Count() to Any()</title>
      <description>Compares the performance differences and considerations between using Count and Any to determine if any elements in a collection match a filter.
A commenter also points out that using Any with an embedded filter gives different performance results as well.

While it's important not to prematurely optimize, it is important to consider the points in this article if you write queries like this that run in a tight loop or iterate over large sets of data. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fcolinmackay.co.uk%2fblog%2f2011%2f08%2f13%2flinq-query-performance%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fcolinmackay.co.uk%2fblog%2f2011%2f08%2f13%2flinq-query-performance%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/LINQ_Comparing_Count_to_Any</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/LINQ_Comparing_Count_to_Any</guid>
      <pubDate>Sun, 21 Aug 2011 15:36:55 GMT</pubDate>
    </item>
    <item>
      <title>Paging in LINQ</title>
      <description>Implementation paging in LINQ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fgaaton.blogspot.com%2f2011%2f08%2fpaging-in-linq.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fgaaton.blogspot.com%2f2011%2f08%2fpaging-in-linq.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Paging_in_LINQ</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Paging_in_LINQ</guid>
      <pubDate>Sat, 06 Aug 2011 01:43:25 GMT</pubDate>
    </item>
    <item>
      <title>Samples for Parallel Programming with the .NET Framework</title>
      <description>The .NET Framework 4 comes with several new features for writing parallel and concurrent applications, including Parallel LINQ (PLINQ), the Task Parallel Library (TPL), new thread-safe collections, and plenty of new coordination and synchronization data structures. This sample includes example applications and library functionality that demonstrate this support. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fcoolthingoftheday.blogspot.com%2f2011%2f07%2fstephen-toub-says-got-your-samples-for.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fcoolthingoftheday.blogspot.com%2f2011%2f07%2fstephen-toub-says-got-your-samples-for.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Samples_for_Parallel_Programming_with_the_NET_Framework</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Samples_for_Parallel_Programming_with_the_NET_Framework</guid>
      <pubDate>Sun, 31 Jul 2011 23:23:26 GMT</pubDate>
    </item>
    <item>
      <title>Interactive Extensions for LINQ to Objects</title>
      <description>Based on the work done in Reactive Extensions (Rx), a set of additional LINQ to Objects query operators are available as Interactive Extensions(Ix).  Missing features can be found in a set of IEnumerable extension methods under the System.Linq namespace by looking under the API. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.infoq.com%2fnews%2f2011%2f07%2fIx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.infoq.com%2fnews%2f2011%2f07%2fIx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Interactive_Extensions_for_LINQ_to_Objects</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Interactive_Extensions_for_LINQ_to_Objects</guid>
      <pubDate>Sun, 31 Jul 2011 19:31:17 GMT</pubDate>
    </item>
    <item>
      <title>Does LINQ to SQL eliminate the possibility of SQL Injection</title>
      <description>By default, LINQ to SQL uses parameterized queries rather than concatenated strings when executing your LINQ queries. As a result, if a user tries to perform SQL Injection by improperly escaping parts of the SQL, the escape is considered part of the parameter rather than part of the query and thus avoids the injection. However, as we discussed in chapter 8 of LINQ in Action, LINQ to SQL greatly reduces the possibility of SQL Injection, but doesn't completely eliminate it. For example, if you are using ... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.thinqlinq.com%2fPost.aspx%2fTitle%2fDoes-LINQ-to-SQL-eliminate-the-possibility-of-SQL-Injection"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.thinqlinq.com%2fPost.aspx%2fTitle%2fDoes-LINQ-to-SQL-eliminate-the-possibility-of-SQL-Injection" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Does_LINQ_to_SQL_eliminate_the_possibility_of_SQL_Injection</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Does_LINQ_to_SQL_eliminate_the_possibility_of_SQL_Injection</guid>
      <pubDate>Fri, 29 Jul 2011 03:53:12 GMT</pubDate>
    </item>
    <item>
      <title>LINQ Pad vs. Visual Studio for Learning LINQ</title>
      <description>LINQPad is a resourceful tool  when working with or learning LINQ. 
Translating from LINQPad to Visual Studio is essential since most programming occurs here. In this article a LINQ query is examined in LINQPad and then migrated to Visual Studio. Other LINQ examples are provided as well.
 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fjesseliberty.com%2f2011%2f07%2f19%2flinq-pad-vs-visual-studio-for-learning-linq%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fjesseliberty.com%2f2011%2f07%2f19%2flinq-pad-vs-visual-studio-for-learning-linq%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/LINQ_Pad_vs_Visual_Studio_for_Learning_LINQ</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/LINQ_Pad_vs_Visual_Studio_for_Learning_LINQ</guid>
      <pubDate>Tue, 26 Jul 2011 01:51:28 GMT</pubDate>
    </item>
    <item>
      <title>LINQ ToLookup Operator</title>
      <description>Language-Integrated Query (LINQ) provides several methods that allow a sequence to be manipulated, filtered and grouped. ToLookup performs a grouping operation that results in a sequence of key / value pairs, where each value is another sequence. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.blackwasp.co.uk%2fLinqToLookup.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.blackwasp.co.uk%2fLinqToLookup.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/LINQ_ToLookup_Operator</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/LINQ_ToLookup_Operator</guid>
      <pubDate>Mon, 23 May 2011 06:25:33 GMT</pubDate>
    </item>
    <item>
      <title>The Power of LINQ - Sorting Lists with a single line of code</title>
      <description>This post, just like the code example, is short and to the point, because that's how LINQ is - short, to the point, and powerful. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.image0.com%2fc-2%2fthe-power-of-linq%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.image0.com%2fc-2%2fthe-power-of-linq%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/The_Power_of_LINQ_Sorting_Lists_with_a_single_line_of_code</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/The_Power_of_LINQ_Sorting_Lists_with_a_single_line_of_code</guid>
      <pubDate>Fri, 22 Apr 2011 07:03:55 GMT</pubDate>
    </item>
    <item>
      <title>O/R Mapping domain query optimizations</title>
      <description>Executing domain logic in DB &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2frogeralsing.com%2f2011%2f04%2f01%2for-mapping-and-domain-query-optimizations%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2frogeralsing.com%2f2011%2f04%2f01%2for-mapping-and-domain-query-optimizations%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/O_R_Mapping_domain_query_optimizations</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/O_R_Mapping_domain_query_optimizations</guid>
      <pubDate>Mon, 04 Apr 2011 08:11:07 GMT</pubDate>
    </item>
    <item>
      <title>How to find Duplicates Elements with LINQ-CodeGain</title>
      <description>In this snippet I am going to discuss about how to get list of duplicate items for the collection that we do in sql. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.codegain.com%2fcodesnippets%2flinq%2fhowto%2fhow-to-find-duplicates-elements-with-linq.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.codegain.com%2fcodesnippets%2flinq%2fhowto%2fhow-to-find-duplicates-elements-with-linq.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/How_to_find_Duplicates_Elements_with_LINQ_CodeGain</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/How_to_find_Duplicates_Elements_with_LINQ_CodeGain</guid>
      <pubDate>Mon, 04 Apr 2011 08:10:32 GMT</pubDate>
    </item>
    <item>
      <title>SQL Server XQuery with LINQ To SQL</title>
      <description>LINQ To SQL doesn't provide a way to include Xquery expressions in queries.  The simplest solution is to create SQL user-defined functions that perform the Xquery for you and return scalar results.
 
This works pretty well for small databases, but you lose the benefit of SQL Server's XML indexes.  To get around that, we can modify the SQL command text to expand the function calls into raw Xquery expressions. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fchriscavanagh.wordpress.com%2f2011%2f03%2f15%2fsql-server-xquery-with-linq-to-sql%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fchriscavanagh.wordpress.com%2f2011%2f03%2f15%2fsql-server-xquery-with-linq-to-sql%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/SQL_Server_XQuery_with_LINQ_To_SQL</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/SQL_Server_XQuery_with_LINQ_To_SQL</guid>
      <pubDate>Wed, 16 Mar 2011 06:31:10 GMT</pubDate>
    </item>
    <item>
      <title>Modifying LINQ To SQL command text</title>
      <description>Here's a bit of code that'll let you modify any command text LINQ To SQL generates before it hits the database.  It's always been possible to call DataContext.GetCommand and use modified SQL in a call to DataContext.Translate or DataContext.ExecuteQuery, but that's pretty restrictive in the complexity of query you can use.  Also, if LINQ To SQL decides it needs to batch multiple SELECT statements for the desired results, GetCommand can only give you the first one.

The first thing to do is replace the IProvider implementation used by your DataContext.  Unfortunately, DataContext's Provider property is both private and read-only.  Also, the IProvider interface itself is private.  This is bad in every way, and we absolutely shouldn't try to hack our way through that. but we will. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fchriscavanagh.wordpress.com%2f2011%2f03%2f12%2fmanipulating-linq-to-sql-command-text%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fchriscavanagh.wordpress.com%2f2011%2f03%2f12%2fmanipulating-linq-to-sql-command-text%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/linq/Modifying_LINQ_To_SQL_command_text</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/linq/Modifying_LINQ_To_SQL_command_text</guid>
      <pubDate>Sun, 13 Mar 2011 20:37:17 GMT</pubDate>
    </item>
  </channel>
</rss>
