<?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: How to map a domain model with NHibernate?</title>
	<atom:link href="http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/</link>
	<description>Blog about architectural patterns, best practices, coding principles and techniques</description>
	<lastBuildDate>Tue, 02 Apr 2013 00:12:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Nathan Alden</title>
		<link>http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/#comment-391</link>
		<dc:creator>Nathan Alden</dc:creator>
		<pubDate>Tue, 06 Sep 2011 15:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/#comment-391</guid>
		<description>The answer is, don&#039;t. NHibernate is not for domain modelling, it&#039;s for DTOs. When I create domain classes, they are from-scratch and designed to look and act exactly like my domain. Persistence concerns come at least second in my overall architecture. I think questions like this are typical of folks who think &quot;data first&quot; instead of &quot;domain first.&quot; Change your thinking and the answer becomes obvious regarding NHibernate.</description>
		<content:encoded><![CDATA[<p>The answer is, don&#8217;t. NHibernate is not for domain modelling, it&#8217;s for DTOs. When I create domain classes, they are from-scratch and designed to look and act exactly like my domain. Persistence concerns come at least second in my overall architecture. I think questions like this are typical of folks who think &#8220;data first&#8221; instead of &#8220;domain first.&#8221; Change your thinking and the answer becomes obvious regarding NHibernate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Morning Brew - Chris Alcock &#187; The Morning Brew #930</title>
		<link>http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/#comment-388</link>
		<dc:creator>The Morning Brew - Chris Alcock &#187; The Morning Brew #930</dc:creator>
		<pubDate>Mon, 05 Sep 2011 07:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/#comment-388</guid>
		<description>[...] How to map a domain model with NHibernate? - Gabriel Schenker takes a look at the mapping of domain entities to be used in a WCF service, answering a number of common questions about the decisions that need to be made in the mapping process and looking at segregating the parts of the model. [...]</description>
		<content:encoded><![CDATA[<p>[...] How to map a domain model with NHibernate? &#8211; Gabriel Schenker takes a look at the mapping of domain entities to be used in a WCF service, answering a number of common questions about the decisions that need to be made in the mapping process and looking at segregating the parts of the model. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Abreu</title>
		<link>http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/#comment-387</link>
		<dc:creator>Luis Abreu</dc:creator>
		<pubDate>Sat, 03 Sep 2011 14:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/gabrielschenker/2011/09/02/how-to-map-a-domain-model-with-nhibernate/#comment-387</guid>
		<description>regarding 1, I&#039;d say that is why we have aggregate roots in DDD which are used to break the tipical table relationships you have in the db.  if you approach this from an aggregate root perspective, i&#039;d say you&#039;d only want to use lazy loading when you have lots of items in a collection and only after measuring and seeing if that really is the problem</description>
		<content:encoded><![CDATA[<p>regarding 1, I&#8217;d say that is why we have aggregate roots in DDD which are used to break the tipical table relationships you have in the db.  if you approach this from an aggregate root perspective, i&#8217;d say you&#8217;d only want to use lazy loading when you have lots of items in a collection and only after measuring and seeing if that really is the problem</p>
]]></content:encoded>
	</item>
</channel>
</rss>
