<?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: Repository pattern in CSLA</title>
	<atom:link href="http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/feed/" rel="self" type="application/rss+xml" />
	<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/</link>
	<description>IOC(SM):MOC(RM):TDD(NU):SCC(TFS):ORM(L2S):JSL(Jq):CIS(CC)</description>
	<lastBuildDate>Thu, 19 Nov 2009 19:41:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mock/Test DataAccess Funtions in CSLA &#171; maonet technotes</title>
		<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/#comment-416</link>
		<dc:creator>Mock/Test DataAccess Funtions in CSLA &#171; maonet technotes</dc:creator>
		<pubDate>Wed, 03 Dec 2008 15:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://maonet.wordpress.com/?p=240#comment-416</guid>
		<description>[...] Posts Repository pattern in CSLAWhere should I distinct and sort data result from NHibernate?Moving WCF Service to IISNHibernate and [...]</description>
		<content:encoded><![CDATA[<p>[...] Posts Repository pattern in CSLAWhere should I distinct and sort data result from NHibernate?Moving WCF Service to IISNHibernate and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/#comment-399</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 22 Oct 2008 13:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://maonet.wordpress.com/?p=240#comment-399</guid>
		<description>Frank,

I posted my IRepository Code on my blog: http://www.techfocus2.com/2008/10/irepository-code/ 

Also, comments are working now, thanks for pointing that out.</description>
		<content:encoded><![CDATA[<p>Frank,</p>
<p>I posted my IRepository Code on my blog: <a href="http://www.techfocus2.com/2008/10/irepository-code/" rel="nofollow">http://www.techfocus2.com/2008/10/irepository-code/</a> </p>
<p>Also, comments are working now, thanks for pointing that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Mao</title>
		<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/#comment-390</link>
		<dc:creator>Frank Mao</dc:creator>
		<pubDate>Fri, 10 Oct 2008 14:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://maonet.wordpress.com/?p=240#comment-390</guid>
		<description>In case you are still not clear. Here is my IRepository definition:

    public interface IRepository
    {
   
        DTO FindById(int id);

        DTO Insert(DTO data); 
        DTO Update(DTO newData, DTO oldData); // Our Stored Procedure is very old fashion. We don&#039;t have choice.
 
        void Delete(DTO data);

    }

    public interface IDynamicQueryable 
    {
        IEnumerable FindAllByCriteria(string criteria);
        IEnumerable FindAllByCriteria(Func criteria);
    }

    public interface INameValueListRepository
    {
        Dictionary GetAll();
    }</description>
		<content:encoded><![CDATA[<p>In case you are still not clear. Here is my IRepository definition:</p>
<p>    public interface IRepository<br />
    {</p>
<p>        DTO FindById(int id);</p>
<p>        DTO Insert(DTO data);<br />
        DTO Update(DTO newData, DTO oldData); // Our Stored Procedure is very old fashion. We don&#8217;t have choice.</p>
<p>        void Delete(DTO data);</p>
<p>    }</p>
<p>    public interface IDynamicQueryable<br />
    {<br />
        IEnumerable FindAllByCriteria(string criteria);<br />
        IEnumerable FindAllByCriteria(Func criteria);<br />
    }</p>
<p>    public interface INameValueListRepository<br />
    {<br />
        Dictionary GetAll();<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TechFocus2.0 &#187; CSLA 3.6: Object Factory intro</title>
		<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/#comment-388</link>
		<dc:creator>TechFocus2.0 &#187; CSLA 3.6: Object Factory intro</dc:creator>
		<pubDate>Fri, 10 Oct 2008 03:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://maonet.wordpress.com/?p=240#comment-388</guid>
		<description>[...] object through the use of the ObjectFactory and StructureMap. This is a setup very similar to what Frank is using in his project. However we are not using DTO objects in between the Repository and the [...]</description>
		<content:encoded><![CDATA[<p>[...] object through the use of the ObjectFactory and StructureMap. This is a setup very similar to what Frank is using in his project. However we are not using DTO objects in between the Repository and the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Mao</title>
		<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/#comment-387</link>
		<dc:creator>Frank Mao</dc:creator>
		<pubDate>Fri, 10 Oct 2008 01:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://maonet.wordpress.com/?p=240#comment-387</guid>
		<description>I always thought DAO and Repository are almost same. Maybe I should look back to the defination more detail. Anyway I think if using LinQ2Sql yield return properly, memeroy won&#039;t be a big issue.</description>
		<content:encoded><![CDATA[<p>I always thought DAO and Repository are almost same. Maybe I should look back to the defination more detail. Anyway I think if using LinQ2Sql yield return properly, memeroy won&#8217;t be a big issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Fairclough</title>
		<link>http://maonet.wordpress.com/2008/10/06/repository-pattern-in-csla/#comment-385</link>
		<dc:creator>Kevin Fairclough</dc:creator>
		<pubDate>Thu, 09 Oct 2008 12:34:20 +0000</pubDate>
		<guid isPermaLink="false">http://maonet.wordpress.com/?p=240#comment-385</guid>
		<description>I like this approach, and we are thinking of using a similar technique.  For me this is DAO not a repository (although I&#039;m pretty new to this.)  From what I have read the Repository pattern lives above the BO.  

Regardless of that, have you had any issues with memory, as you will have to copy the contents of DTO into BO.  If you have a BusinessListBase with many records then the memory will consume twice the amount?</description>
		<content:encoded><![CDATA[<p>I like this approach, and we are thinking of using a similar technique.  For me this is DAO not a repository (although I&#8217;m pretty new to this.)  From what I have read the Repository pattern lives above the BO.  </p>
<p>Regardless of that, have you had any issues with memory, as you will have to copy the contents of DTO into BO.  If you have a BusinessListBase with many records then the memory will consume twice the amount?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
