<?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: Building a Generic DAO / Repository with LINQ</title>
	<atom:link href="http://erichauser.net/2007/11/08/building-a-generic-dao-repository-with-linq/feed/" rel="self" type="application/rss+xml" />
	<link>http://erichauser.net/2007/11/08/building-a-generic-dao-repository-with-linq/</link>
	<description>J2EE, .NET, and general technology</description>
	<lastBuildDate>Fri, 30 Oct 2009 01:03:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Where is IDataContext? &#171; maonet technotes</title>
		<link>http://erichauser.net/2007/11/08/building-a-generic-dao-repository-with-linq/comment-page-1/#comment-49</link>
		<dc:creator>Where is IDataContext? &#171; maonet technotes</dc:creator>
		<pubDate>Fri, 18 Jan 2008 21:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hausertechnologies.com/wordpress/?p=36#comment-49</guid>
		<description>[...] this interesting blog, building Generic DAO using Linq to SQL, idea is identical to NHibernate&#8217;s DAO. By doing this, we will have an option to operate data [...]</description>
		<content:encoded><![CDATA[<p>[...] this interesting blog, building Generic DAO using Linq to SQL, idea is identical to NHibernate&#8217;s DAO. By doing this, we will have an option to operate data [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Cooper</title>
		<link>http://erichauser.net/2007/11/08/building-a-generic-dao-repository-with-linq/comment-page-1/#comment-48</link>
		<dc:creator>Adam Cooper</dc:creator>
		<pubDate>Wed, 05 Dec 2007 21:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.hausertechnologies.com/wordpress/?p=36#comment-48</guid>
		<description>Eric,

This is excellent, excellent work. I only wish there were more to read.

I&#039;m in the middle of re-developing and re-architecting an online store using LINQ to SQL, but I&#039;m struggling to know where to draw the line on who should have access to the DataContext. I keep coming back to the conclusion that I should use a repository pattern to shield the application from directly working with the DAL that I&#039;m generating with sqlmetal. But the question I keep coming to is &quot;How do I abstract away the use of the DataContext without having to write a lot of redundant object wrappers around my sqlmetal DAL?&quot;

Your blog post here is the closest thing I&#039;ve found to an answer, though I&#039;m still uncertain about some of the details. Is there anything more that you can share? Could you provide downloadable code samples of what you&#039;re writing about here? Being able to browse the files and see the big picture would help me tremendously.

Thanks much,
Adam Cooper</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>This is excellent, excellent work. I only wish there were more to read.</p>
<p>I&#8217;m in the middle of re-developing and re-architecting an online store using LINQ to SQL, but I&#8217;m struggling to know where to draw the line on who should have access to the DataContext. I keep coming back to the conclusion that I should use a repository pattern to shield the application from directly working with the DAL that I&#8217;m generating with sqlmetal. But the question I keep coming to is &#8220;How do I abstract away the use of the DataContext without having to write a lot of redundant object wrappers around my sqlmetal DAL?&#8221;</p>
<p>Your blog post here is the closest thing I&#8217;ve found to an answer, though I&#8217;m still uncertain about some of the details. Is there anything more that you can share? Could you provide downloadable code samples of what you&#8217;re writing about here? Being able to browse the files and see the big picture would help me tremendously.</p>
<p>Thanks much,<br />
Adam Cooper</p>
]]></content:encoded>
	</item>
</channel>
</rss>

