<?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"
	>
<channel>
	<title>Comments on: Fixing Leaky Repository Abstractions with LINQ</title>
	<atom:link href="http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/</link>
	<description>C# &#38; .NET Development, NHaml, LightSpeed, PowerShell Gadget, Inflector.NET...</description>
	<pubDate>Thu, 28 Aug 2008 11:41:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: admin</title>
		<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-506</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 08 Apr 2008 01:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-506</guid>
		<description>Hi Jesús,

People are using some of the code and patterns from BackgroundMotion but I'm not sure if anyone is using the Core assembly directly. The Repository pattern is from Domain Driven Design (Evans) and is also documented on MartinFowler.com. Jimmy Nilsson also has a book about using domain driven design patterns with .NET.

Cheers,

Andrew.</description>
		<content:encoded><![CDATA[<p>Hi Jesús,</p>
<p>People are using some of the code and patterns from BackgroundMotion but I&#8217;m not sure if anyone is using the Core assembly directly. The Repository pattern is from Domain Driven Design (Evans) and is also documented on MartinFowler.com. Jimmy Nilsson also has a book about using domain driven design patterns with .NET.</p>
<p>Cheers,</p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesús Garza</title>
		<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-505</link>
		<dc:creator>Jesús Garza</dc:creator>
		<pubDate>Mon, 07 Apr 2008 22:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-505</guid>
		<description>Dear Andrew,

Do you know if anyone documented the repository architecture or its use on a project outside of the background site? I am starting to use linq and I think the Core.dll code could speed up the development. But I don't understand all the implications of its use, how to set it up on my code and I can't seem to find anyone commenting on its use. 

Thanks and best regards.</description>
		<content:encoded><![CDATA[<p>Dear Andrew,</p>
<p>Do you know if anyone documented the repository architecture or its use on a project outside of the background site? I am starting to use linq and I think the Core.dll code could speed up the development. But I don&#8217;t understand all the implications of its use, how to set it up on my code and I can&#8217;t seem to find anyone commenting on its use. </p>
<p>Thanks and best regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nima</title>
		<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-271</link>
		<dc:creator>Nima</dc:creator>
		<pubDate>Sat, 22 Dec 2007 12:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-271</guid>
		<description>Dear Andrew

Thanks so much</description>
		<content:encoded><![CDATA[<p>Dear Andrew</p>
<p>Thanks so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-234</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 19 Dec 2007 20:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-234</guid>
		<description>Hi Nima,

You're right, in this scenario, client code does know about the query expressions. One way to avoid this would be to create a layer of strongly-typed Repositorys that sit above this generic repository. However, if you do this you will lose the expressiveness of LINQ and so will have to create overloads/specifications that handle all your scenarios including sorting/paging etc.

Andrew.</description>
		<content:encoded><![CDATA[<p>Hi Nima,</p>
<p>You&#8217;re right, in this scenario, client code does know about the query expressions. One way to avoid this would be to create a layer of strongly-typed Repositorys that sit above this generic repository. However, if you do this you will lose the expressiveness of LINQ and so will have to create overloads/specifications that handle all your scenarios including sorting/paging etc.</p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nima</title>
		<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-228</link>
		<dc:creator>Nima</dc:creator>
		<pubDate>Wed, 19 Dec 2007 13:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-228</guid>
		<description>it seems, there are different implement of Repository. in this scenario, client must know about expression.

is this better way or I missed something ?
CustomerRepository customerRepository = new CustomerRepository();
customerRepository.GetCustomerByName("name");</description>
		<content:encoded><![CDATA[<p>it seems, there are different implement of Repository. in this scenario, client must know about expression.</p>
<p>is this better way or I missed something ?<br />
CustomerRepository customerRepository = new CustomerRepository();<br />
customerRepository.GetCustomerByName(&#8221;name&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Jack</title>
		<link>http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-85</link>
		<dc:creator>Colin Jack</dc:creator>
		<pubDate>Fri, 22 Jun 2007 15:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/28/fixing-leaky-repository-abstractions-with-linq/#comment-85</guid>
		<description>Good stuff, makes me realize its time I got my head around LINQ though.</description>
		<content:encoded><![CDATA[<p>Good stuff, makes me realize its time I got my head around LINQ though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
