<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Domain Driven Design Part 3: Repositories and Factories</title>
	<atom:link href="http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/</link>
	<description>Going Beyond The Compiler - www.mattpeters.net</description>
	<lastBuildDate>Fri, 22 Oct 2010 00:01:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Daniel Wertheim</title>
		<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/#comment-197</link>
		<dc:creator><![CDATA[Daniel Wertheim]]></dc:creator>
		<pubDate>Mon, 22 Jun 2009 18:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://mattpeters.net/?p=213#comment-197</guid>
		<description><![CDATA[I try to keep one Repository per Aggregat-root.

//Daniel]]></description>
		<content:encoded><![CDATA[<p>I try to keep one Repository per Aggregat-root.</p>
<p>//Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Domain Driven Design with a Three Tiered Architecture &#171; The Blog of Matt Peters</title>
		<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/#comment-126</link>
		<dc:creator><![CDATA[Using Domain Driven Design with a Three Tiered Architecture &#171; The Blog of Matt Peters]]></dc:creator>
		<pubDate>Fri, 24 Apr 2009 14:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://mattpeters.net/?p=213#comment-126</guid>
		<description><![CDATA[[...] Part 3: Repositories and Factories [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Part 3: Repositories and Factories [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domain Driven Design Part 2: Value Objects and Services &#171; The Blog of Matt Peters</title>
		<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/#comment-119</link>
		<dc:creator><![CDATA[Domain Driven Design Part 2: Value Objects and Services &#171; The Blog of Matt Peters]]></dc:creator>
		<pubDate>Tue, 21 Apr 2009 14:56:19 +0000</pubDate>
		<guid isPermaLink="false">http://mattpeters.net/?p=213#comment-119</guid>
		<description><![CDATA[[...] Part 3: Repositories and Factories [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Part 3: Repositories and Factories [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domain Driven Design Part 1: Introduction and Entities &#171; The Blog of Matt Peters</title>
		<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/#comment-118</link>
		<dc:creator><![CDATA[Domain Driven Design Part 1: Introduction and Entities &#171; The Blog of Matt Peters]]></dc:creator>
		<pubDate>Tue, 21 Apr 2009 14:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://mattpeters.net/?p=213#comment-118</guid>
		<description><![CDATA[[...] on April 7, 2009 at 5:20 pm  Domain Driven Design Part 3: Repositories and Factories &#171; The Blog of Matt Peters [...]]]></description>
		<content:encoded><![CDATA[<p>[...] on April 7, 2009 at 5:20 pm  Domain Driven Design Part 3: Repositories and Factories &laquo; The Blog of Matt Peters [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T</title>
		<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/#comment-95</link>
		<dc:creator><![CDATA[T]]></dc:creator>
		<pubDate>Thu, 09 Apr 2009 21:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://mattpeters.net/?p=213#comment-95</guid>
		<description><![CDATA[Matt,

Sorry about the not so clear comments above, if you can delete them. It didn&#039;t give me option to delete. 

I was trying to copy paste the default IRepository implemenation and to ask you compare it with having individual interfaces.

public interface IRepository : IDisposable{    T[] GetAll();    T[] GetAll(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter, List&lt;Expression&lt;Func&gt;&gt; subSelectors);    void Delete(T entity);    void Add(T entity);    int SaveChanges();    DbTransaction BeginTransaction();

Thanks,]]></description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>Sorry about the not so clear comments above, if you can delete them. It didn&#8217;t give me option to delete. </p>
<p>I was trying to copy paste the default IRepository implemenation and to ask you compare it with having individual interfaces.</p>
<p>public interface IRepository : IDisposable{    T[] GetAll();    T[] GetAll(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter, List&lt;Expression&lt;Func&gt;&gt; subSelectors);    void Delete(T entity);    void Add(T entity);    int SaveChanges();    DbTransaction BeginTransaction();</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T</title>
		<link>http://mattpeters.net/2009/04/06/domain-driven-design-part-3-repositories-and-factories/#comment-92</link>
		<dc:creator><![CDATA[T]]></dc:creator>
		<pubDate>Thu, 09 Apr 2009 21:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://mattpeters.net/?p=213#comment-92</guid>
		<description><![CDATA[Do we really need multiple interfaces for each entity. Why not just create the generic IRepository interface and just override it with the specific implemenation.

public interface IRepository : IDisposable
{
    T[] GetAll();   
    T[] GetAll(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter, List&lt;Expression&lt;Func&gt;&gt; subSelectors);    void Delete(T entity);    void Add(T entity);    int SaveChanges();    DbTransaction BeginTransaction();}Is this a DAL or a repository? In this case I guess its both.]]></description>
		<content:encoded><![CDATA[<p>Do we really need multiple interfaces for each entity. Why not just create the generic IRepository interface and just override it with the specific implemenation.</p>
<p>public interface IRepository : IDisposable<br />
{<br />
    T[] GetAll();<br />
    T[] GetAll(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter);    T GetSingle(Expression&lt;Func&gt; filter, List&lt;Expression&lt;Func&gt;&gt; subSelectors);    void Delete(T entity);    void Add(T entity);    int SaveChanges();    DbTransaction BeginTransaction();}Is this a DAL or a repository? In this case I guess its both.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

