<?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 to SQL with WCF Services</title>
	<atom:link href="http://www.joe-stevens.com/2009/07/10/linq-to-sql-with-wcf-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joe-stevens.com/2009/07/10/linq-to-sql-with-wcf-services/</link>
	<description>Everything .NET and C#</description>
	<lastBuildDate>Tue, 31 Aug 2010 03:59:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: John Leitch</title>
		<link>http://www.joe-stevens.com/2009/07/10/linq-to-sql-with-wcf-services/comment-page-1/#comment-1322</link>
		<dc:creator>John Leitch</dc:creator>
		<pubDate>Thu, 25 Mar 2010 19:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://joestevens.wordpress.com/?p=121#comment-1322</guid>
		<description>I created a utility that generates a WCF data access service based on LINQ-to-SQL generated classes.
It can be found at http://wcfmetal.codeplex.com/</description>
		<content:encoded><![CDATA[<p>I created a utility that generates a WCF data access service based on LINQ-to-SQL generated classes.<br />
It can be found at <a href="http://wcfmetal.codeplex.com/" rel="nofollow">http://wcfmetal.codeplex.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2009/07/10/linq-to-sql-with-wcf-services/comment-page-1/#comment-13</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://joestevens.wordpress.com/?p=121#comment-13</guid>
		<description>Hey Steve

For simplicity in this example I&#039;m just creating an instance of the DataContext in the service constructor. Normally I&#039;d probably have some repository classes to manipulate the data and have a DataContext instance for each class that lives for the lifetime of the class itself. I can&#039;t really think of a better way to do it...

Not sure about DTO as only really started looking into this stuff myself. I guess you could have some sort of converter at the service level that converts the the Linq to SQL entities to DTOs and vice versa, although without looking into it further I&#039;m not sure how I&#039;d handle the DataContext in this situation.

Cheers
Joe</description>
		<content:encoded><![CDATA[<p>Hey Steve</p>
<p>For simplicity in this example I&#8217;m just creating an instance of the DataContext in the service constructor. Normally I&#8217;d probably have some repository classes to manipulate the data and have a DataContext instance for each class that lives for the lifetime of the class itself. I can&#8217;t really think of a better way to do it&#8230;</p>
<p>Not sure about DTO as only really started looking into this stuff myself. I guess you could have some sort of converter at the service level that converts the the Linq to SQL entities to DTOs and vice versa, although without looking into it further I&#8217;m not sure how I&#8217;d handle the DataContext in this situation.</p>
<p>Cheers<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.joe-stevens.com/2009/07/10/linq-to-sql-with-wcf-services/comment-page-1/#comment-11</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 10 Jul 2009 11:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://joestevens.wordpress.com/?p=121#comment-11</guid>
		<description>Hi , good post, thanks.

How are you managing your datacontext with WCF ?

Also, how would you handle using a DTO rather than passing the Entity to the client ?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi , good post, thanks.</p>
<p>How are you managing your datacontext with WCF ?</p>
<p>Also, how would you handle using a DTO rather than passing the Entity to the client ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
