<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>LINQ Extensions</title><link>http://www.codeplex.com/linqextensions/Project/ProjectRss.aspx</link><description>The project implements several useful extensions for the LINQ project. These extensions incude LINQ support for the C&amp;#43;&amp;#43;&amp;#47;CLI language and simplified syntax or writing common types of database queries.</description><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description>More generic version of QueryBuilder sample &amp;#38; various fixes.</description><author>tomasp</author><pubDate>Sat, 01 Mar 2008 00:32:53 GMT</pubDate><guid isPermaLink="false">Source code checked in 20080301123253A</guid></item><item><title>NEW POST: Are there any plans on releasing a stable version?</title><link>http://www.codeplex.com/linqextensions/Thread/View.aspx?ThreadId=20401</link><description>&lt;div class="wikidoc"&gt;
Is the project evolving?&lt;br /&gt;
&lt;/div&gt;</description><author>snaky</author><pubDate>Mon, 14 Jan 2008 11:49:28 GMT</pubDate><guid isPermaLink="false">NEW POST: Are there any plans on releasing a stable version? 20080114114928A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description>Added asynchronous programming library&amp;#58; http&amp;#58;&amp;#47;&amp;#47;tomasp.net&amp;#47;articles&amp;#47;csharp-async.aspx</description><author>tomasp</author><pubDate>Thu, 15 Nov 2007 02:05:34 GMT</pubDate><guid isPermaLink="false">Source code checked in 20071115020534A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Sat, 22 Sep 2007 17:24:47 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070922052447P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Mon, 30 Jul 2007 00:37:14 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070730123714A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Mon, 30 Jul 2007 00:23:30 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070730122330A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Sat, 28 Jul 2007 22:52:39 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070728105239P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Sat, 28 Jul 2007 22:52:14 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070728105214P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Sat, 28 Jul 2007 21:51:58 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070728095158P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Mon, 16 Jul 2007 15:58:52 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070716035852P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description>Added C&amp;#35; LINQ extensions library</description><author>tomasp</author><pubDate>Sun, 15 Jul 2007 23:47:36 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070715114736P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/linqextensions/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>tomasp</author><pubDate>Sun, 15 Jul 2007 23:04:11 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070715110411P</guid></item><item><title>CREATED ISSUE: Add conversions from T to Nullable&lt;T&gt;</title><link>http://www.codeplex.com/linqextensions/WorkItem/View.aspx?WorkItemId=978</link><description> </description><author>tomasp</author><pubDate>Wed, 25 Apr 2007 21:25:32 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Add conversions from T to Nullable&lt;T&gt; 20070425092532P</guid></item><item><title>CREATED ISSUE: Add template specializations for TimeSpan and DateTime</title><link>http://www.codeplex.com/linqextensions/WorkItem/View.aspx?WorkItemId=977</link><description> </description><author>tomasp</author><pubDate>Wed, 25 Apr 2007 21:25:30 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Add template specializations for TimeSpan and DateTime 20070425092530P</guid></item><item><title>CREATED RELEASE: 1.0 Alpha</title><link>http://www.codeplex.com/linqextensions/Release/ProjectReleases.aspx?ReleaseId=2134</link><description>First preview version of CLinq project.</description><author></author><pubDate>Sun, 04 Mar 2007 02:03:14 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: 1.0 Alpha 20070304020314A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/linqextensions/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
The project implements several useful extensions for the LINQ project. These extensions incude LINQ support for the C&amp;#43;&amp;#43;&amp;#47;CLI language and simplified syntax or writing common types of database queries.
&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
CLinq - LINQ support for the C++/CLI language
&lt;/h3&gt;&lt;i&gt;CLinq project is a library that makes it possible to use LINQ technologies from the C++/CLI language.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;The LINQ project which will be part of the next version of Visual Studio (codename &amp;quot;Orcas&amp;quot;) is set of extensions that make it possible to query data sources directly from the C# or VB.NET languages. LINQ extends .NET Framework with classes to represent queries and both C# and VB.NET language with features that make it possible to write these queries easily. It also includes libraries for using queries with the most common types of data sources like SQL database, DataSets and XML files. This article requires some basic knowledge of LINQ and C# 3.0, so I recommend looking at the LINQ Overview available from the official project web site before reading the article.&lt;br /&gt; &lt;br /&gt;LINQ includes extensions for the C# and VB.NET, but there are no plans for supporting LINQ in C++/CLI. The goal of CLinq project is to allow using part of LINQ functionality from C++/CLI. Thanks to very powerful operator overloading mechanism in C++/CLI it is possible to enable using LINQ to SQL for accessing SQL databases in C++/CLI as well as some other LINQ uses.&lt;br /&gt; &lt;br /&gt;I will first demonstrate how the same database query looks in C# 3.0 and C++/CLI and then we will look at CLinq in more detail. The following query (written in C# 3.0) uses the Northwind database and returns name of contact and company for all customers living in London:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
// create connection to database
NorthwindData db = new NorthwindData(&amp;quot;.. connection string ..&amp;quot;);
 
// declare database query
var q = 
  from cvar in db.Customers
  where cvar.City == &amp;quot;London&amp;quot;
  select cvar.ContactName + &amp;quot;, &amp;quot; + cvar.CompanyName;
 
// execute query and output results
foreach(string s in q)
  Console.WriteLine(s);
&lt;/pre&gt; &lt;br /&gt;Now, let's look at the same query written in C++/CLI using CLinq. It is a bit more complex, but this is the price for implementing it as a library instead of modifying the language:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
// create connection to database
NorthwindData db(&amp;quot;.. connection string ..&amp;quot;);
 
// declare database query
Expr&amp;lt;Customers^&amp;gt; cvar = Var&amp;lt;Customers^&amp;gt;(&amp;quot;c&amp;quot;);
CQuery&amp;lt;String^&amp;gt;^ q = db.QCustomers
  -&amp;gt;Where(clq::fun(cvar, cvar.City == &amp;quot;London&amp;quot;))
  -&amp;gt;Select(clq::fun(cvar, 
      cvar.ContactName + Expr&amp;lt;String^&amp;gt;(&amp;quot;, &amp;quot;) + cvar.CompanyName));
 
// execute query and output results
for each(String^ s in q-&amp;gt;Query)
  Console::WriteLine(s);
&lt;/pre&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;You can read article about CLinq at CodeProject:&lt;a href="http://www.codeproject.com/useritems/clinq.asp" class="externalLink"&gt;http://www.codeproject.com/useritems/clinq.asp&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Other LINQ extensions
&lt;/h3&gt;I'm planing to add a few other extensions that I'm working on in the future. If you're interested in these extensions, you can look at my blog:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://tomasp.net/blog/tag/32.aspx" class="externalLink"&gt;C# and LINQ category&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://tomasp.net/blog/rss.aspx?32" class="externalLink"&gt;C# and LINQ category - RSS Feed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Comments &amp;amp; suggestions
&lt;/h3&gt;I'm interested in your comments &amp;amp; suggestions! Let me know at &lt;a href="mailto:tomas@tomasp.net" class="externalLink"&gt;tomas@tomasp.net&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>tomasp</author><pubDate>Sat, 03 Mar 2007 17:10:18 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070303051018P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/linqextensions/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
The project implements several useful extensions for the LINQ project. These extensions incude LINQ support for the C&amp;#43;&amp;#43;&amp;#47;CLI language and simplified syntax or writing common types of database queries.
&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
CLinq - LINQ support for the C++/CLI language
&lt;/h3&gt;&lt;i&gt;CLinq project is a library that makes it possible to use LINQ technologies from the C++/CLI language.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;The LINQ project which will be part of the next version of Visual Studio (codename &amp;quot;Orcas&amp;quot;) is set of extensions that make it possible to query data sources directly from the C# or VB.NET languages. LINQ extends .NET Framework with classes to represent queries and both C# and VB.NET language with features that make it possible to write these queries easily. It also includes libraries for using queries with the most common types of data sources like SQL database, DataSets and XML files. This article requires some basic knowledge of LINQ and C# 3.0, so I recommend looking at the LINQ Overview available from the official project web site before reading the article.&lt;br /&gt; &lt;br /&gt;LINQ includes extensions for the C# and VB.NET, but there are no plans for supporting LINQ in C++/CLI. The goal of CLinq project is to allow using part of LINQ functionality from C++/CLI. Thanks to very powerful operator overloading mechanism in C++/CLI it is possible to enable using LINQ to SQL for accessing SQL databases in C++/CLI as well as some other LINQ uses.&lt;br /&gt; &lt;br /&gt;I will first demonstrate how the same database query looks in C# 3.0 and C++/CLI and then we will look at CLinq in more detail. The following query (written in C# 3.0) uses the Northwind database and returns name of contact and company for all customers living in London:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
// create connection to database
NorthwindData db = new NorthwindData(&amp;quot;.. connection string ..&amp;quot;);
 
// declare database query
var q = 
  from cvar in db.Customers
  where cvar.City == &amp;quot;London&amp;quot;
  select cvar.ContactName + &amp;quot;, &amp;quot; + cvar.CompanyName;
 
// execute query and output results
foreach(string s in q)
  Console.WriteLine(s);
&lt;/pre&gt; &lt;br /&gt;Now, let's look at the same query written in C++/CLI using CLinq. It is a bit more complex, but this is the price for implementing it as a library instead of modifying the language:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
// create connection to database
NorthwindData db(&amp;quot;.. connection string ..&amp;quot;);
 
// declare database query
Expr&amp;lt;Customers^&amp;gt; cvar = Var&amp;lt;Customers^&amp;gt;(&amp;quot;c&amp;quot;);
CQuery&amp;lt;String^&amp;gt;^ q = db.QCustomers
  -&amp;gt;Where(clq::fun(cvar, cvar.City == &amp;quot;London&amp;quot;))
  -&amp;gt;Select(clq::fun(cvar, 
      cvar.ContactName + Expr&amp;lt;String^&amp;gt;(&amp;quot;, &amp;quot;) + cvar.CompanyName));
 
// execute query and output results
for each(String^ s in q-&amp;gt;Query)
  Console::WriteLine(s);
&lt;/pre&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;You can read article about CLinq at CodeProject:&lt;a href="http://www.codeproject.com/useritems/clinq.asp" class="externalLink"&gt;http://www.codeproject.com/useritems/clinq.asp&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Other LINQ extensions
&lt;/h3&gt;I'm planing to add a few other extensions that I'm working on in the future. If you're interested in these extensions, you can look at my blog:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://tomasp.net/blog/tag/32.aspx" class="externalLink"&gt;C# and LINQ category&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/linqextensions/Wiki/View.aspx?title=http%3a%2f%2ftomasp.net%2fblog%2frss.aspx%3f32&amp;amp;referringTitle=Home"&gt;rss:C and LINQ category - RSS Feed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Comments &amp;amp; suggestions
&lt;/h3&gt;I'm interested in your comments &amp;amp; suggestions! Let me know at &lt;a href="mailto:tomas@tomasp.net" class="externalLink"&gt;tomas@tomasp.net&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>tomasp</author><pubDate>Sat, 03 Mar 2007 17:09:33 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070303050933P</guid></item><item><title>UPDATED RELEASE: CLinq 1.0 Alpha</title><link>http://www.codeplex.com/linqextensions/Release/ProjectReleases.aspx?ReleaseId=2134</link><description>First preview version of CLinq project.</description><author></author><pubDate>Sat, 03 Mar 2007 08:00:00 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: CLinq 1.0 Alpha 20070303080000A</guid></item><item><title>CREATED ISSUE: Add conversions from T to Nullable&lt;T&gt;</title><link>http://www.codeplex.com/linqextensions/WorkItem/View.aspx?WorkItemId=715</link><description> </description><author>tomasp</author><pubDate>Fri, 02 Mar 2007 22:32:28 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Add conversions from T to Nullable&lt;T&gt; 20070302103228P</guid></item><item><title>CREATED ISSUE: Add template specializations for TimeSpan and DateTime</title><link>http://www.codeplex.com/linqextensions/WorkItem/View.aspx?WorkItemId=714</link><description> </description><author>tomasp</author><pubDate>Fri, 02 Mar 2007 22:32:03 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Add template specializations for TimeSpan and DateTime 20070302103203P</guid></item></channel></rss>