<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="0.92">
<channel>
	<title>LINQ to SQL</title>
	<link>http://www.linq-to-sql.com</link>
	<description>Linq guide for DEVELOPERS</description>
	<lastBuildDate>Sun, 29 Jun 2008 11:11:19 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>What is LINQ?</title>
		<description>LINQ is a programming model that introduces queries as a first-class concept into any
Microsoft .NET language. However, complete support for LINQ requires some extensions in the language used. These extensions boost productivity, thereby providing a shorter, meaningful, and expressive syntax to manipulate data.
Following is a simple LINQ query for a ...</description>
		<link>http://www.linq-to-sql.com/linq-to-sql/what-is-linq/</link>
			</item>
	<item>
		<title>Linq Insert Sample Code</title>
		<description> If you want to add a record to a table or remove a record from a table, creating or deleting an object in memory is not enough. The DataContext instance must be notified also. This can be
done directly by calling Add or Remove on the corresponding Table collection (these ...</description>
		<link>http://www.linq-to-sql.com/linq-to-sql/linq-insert-sample/</link>
			</item>
	<item>
		<title>How &#8216;Outer join&#8217; changed in Linq?</title>
		<description>One of the most frequently asked query type is outer join. With T-Sql by using 'left outer join' type it was possible to get the records of the Customer table without the orders.

T-Sql usage:
select c.ContactName, OrderID= case when o.OrderID is null then '(no orders)' else convert(varchar,o.OrderID) end
from Customers c
left outer ...</description>
		<link>http://www.linq-to-sql.com/linq-to-sql/t-sql-to-linq-upgrade/linq-outer-join/</link>
			</item>
	<item>
		<title>Download Visual Studio 2008 and Sql Server 2005 for Linq Samples</title>
		<description>If you newbie to linq, you should download and install some tools for trying samples and developing apps.

Visual Studio 2008 and Sql Server express editions:

 </description>
		<link>http://www.linq-to-sql.com/linq-to-sql/t-sql-to-linq-upgrade/linq-download-vs2008-sql2005/</link>
			</item>
	<item>
		<title>The ?? null coalescing operator using with LINQ</title>
		<description>T-Sql coalesce usage: 
select c.ContactName, EmpID= coalesce(o.EmployeeID,-1)
from Customers c
left outer join Orders o on o.CustomerID = c.CustomerID
Same Query with Linq ?? operator:

 </description>
		<link>http://www.linq-to-sql.com/linq-to-sql/t-sql-to-linq-upgrade/linq-null-coalesce/</link>
			</item>
	<item>
		<title>T-Sql ‘join’ command in Linq to Sql</title>
		<description>
 T-Sql exists Usage:

select c.CompanyName, o.*
from Customers c
join Orders o on o.CustomerId = c.CustomerId
where o.ShipCountry = 'Germany'
Linq contains usage instead of exists:
DataClassesDataContext db = new DataClassesDataContext();
var Cust = from c in db.Customers
join o in db.Orders on c.CustomerID equals o.CustomerID
where o.ShipCountry == "Germany"
select new { c.CompanyName, o.OrderDate, o.ShipCountry }; </description>
		<link>http://www.linq-to-sql.com/linq-to-sql/t-sql-to-linq-upgrade/linq-join/</link>
			</item>
	<item>
		<title>T-Sql &#8216;exists&#8217; command in Linq to Sql</title>
		<description> T-Sql exists Usage:
select *
from Customers c
where exists(select *
from Orders
where ShipCountry = 'Germany'
and CustomerId = c.CustomerId)
Linq contains usage instead of exists:
DataClassesDataContext db = new DataClassesDataContext();
var Cust = from c in db.Customers
where (from o in db.Orders
where o.ShipCountry == "Germany"
select o.CustomerID).Contains(c.CustomerID)
select c; </description>
		<link>http://www.linq-to-sql.com/linq-to-sql/t-sql-to-linq-upgrade/linq-exists/</link>
			</item>
</channel>
</rss>
