<?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: Introducing Fluent NHibernate</title>
	<atom:link href="http://jagregory.com/writings/introducing-fluent-nhibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://jagregory.com/writings/introducing-fluent-nhibernate/</link>
	<description>Monkeying with the code</description>
	<lastBuildDate>Tue, 29 Jun 2010 13:30:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fluent NHibernate Automapping &#124; All Free For You</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-24383</link>
		<dc:creator>Fluent NHibernate Automapping &#124; All Free For You</dc:creator>
		<pubDate>Tue, 30 Jun 2009 07:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-24383</guid>
		<description>[...] his credit, James Gregory has been the driving force on the Fluent NHibernate offering, and he&#8217;s done a great job. Not [...]</description>
		<content:encoded><![CDATA[<p>[...] his credit, James Gregory has been the driving force on the Fluent NHibernate offering, and he&#8217;s done a great job. Not [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Gregory</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-19714</link>
		<dc:creator>James Gregory</dc:creator>
		<pubDate>Thu, 07 May 2009 21:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-19714</guid>
		<description>Fluent NHibernate doesn&#039;t require your entities to inherit from anything, it&#039;s only the actual mappings themselves that should inherit from ClassMap.</description>
		<content:encoded><![CDATA[<p>Fluent NHibernate doesn&#8217;t require your entities to inherit from anything, it&#8217;s only the actual mappings themselves that should inherit from ClassMap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kishore</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-19711</link>
		<dc:creator>Kishore</dc:creator>
		<pubDate>Thu, 07 May 2009 20:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-19711</guid>
		<description>Does this approach require that the class being mapped extend from ClassMap ?

If this is the case, the one chance you have at inheritance is lost by extending from ClassMap.

Typically, I see people writing entities that tend to extend from some base entity.

Still looks awesome though! 
-K</description>
		<content:encoded><![CDATA[<p>Does this approach require that the class being mapped extend from ClassMap ?</p>
<p>If this is the case, the one chance you have at inheritance is lost by extending from ClassMap.</p>
<p>Typically, I see people writing entities that tend to extend from some base entity.</p>
<p>Still looks awesome though!<br />
-K</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What framework is right for me? - Overclock.net - Overclocking.net</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-15652</link>
		<dc:creator>What framework is right for me? - Overclock.net - Overclocking.net</dc:creator>
		<pubDate>Tue, 03 Feb 2009 12:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-15652</guid>
		<description>[...] out fubumvc for the framework and Fluent NHibernate for object persistence/query. Cutting-edge stuff.     __________________ [...]</description>
		<content:encoded><![CDATA[<p>[...] out fubumvc for the framework and Fluent NHibernate for object persistence/query. Cutting-edge stuff.     __________________ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enhancing Team&#8217;s Productivity - .NET, VS.NET &#171; Niraj Bhatt - Architect&#8217;s Blog</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-14941</link>
		<dc:creator>Enhancing Team&#8217;s Productivity - .NET, VS.NET &#171; Niraj Bhatt - Architect&#8217;s Blog</dc:creator>
		<pubDate>Fri, 09 Jan 2009 06:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-14941</guid>
		<description>[...] 2) Code Generators: I have seen many companies having a framework wherein they take care of common tasks starting from transactions to Workflows, etc. Their implementation normally revolves around Factory method or Template method patterns. If you follow this approach, using code generator you can create &#8220;Fill-In-The-Blanks&#8221; template for your developers. I don&#8217;t have a framework like this, but I have still created few code generators. I normally use NHibernate for my projects. Given it&#8217;s a fantastic tool, it takes sometime to generate mappings &amp; corresponding classes which again might be error prone. I have created a code generator which not allows you to create mappings &amp; classes but also creates Factories &amp; Repositories for entities that are generated. (N.B. You can find one alternative approach to mapping files here). [...]</description>
		<content:encoded><![CDATA[<p>[...] 2) Code Generators: I have seen many companies having a framework wherein they take care of common tasks starting from transactions to Workflows, etc. Their implementation normally revolves around Factory method or Template method patterns. If you follow this approach, using code generator you can create &#8220;Fill-In-The-Blanks&#8221; template for your developers. I don&#8217;t have a framework like this, but I have still created few code generators. I normally use NHibernate for my projects. Given it&#8217;s a fantastic tool, it takes sometime to generate mappings &amp; corresponding classes which again might be error prone. I have created a code generator which not allows you to create mappings &amp; classes but also creates Factories &amp; Repositories for entities that are generated. (N.B. You can find one alternative approach to mapping files here). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: indomitablehef.com &#187; Blog Archive &#187; Fluent NHibernate</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-14281</link>
		<dc:creator>indomitablehef.com &#187; Blog Archive &#187; Fluent NHibernate</dc:creator>
		<pubDate>Tue, 09 Dec 2008 00:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-14281</guid>
		<description>[...] I started playing around with Fluent NHibernate today. What a fantastic improvement over the old .hbm (xml) file configuration! Details here. [...]</description>
		<content:encoded><![CDATA[<p>[...] I started playing around with Fluent NHibernate today. What a fantastic improvement over the old .hbm (xml) file configuration! Details here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Marisic</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-14267</link>
		<dc:creator>Chris Marisic</dc:creator>
		<pubDate>Mon, 08 Dec 2008 14:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-14267</guid>
		<description>James thanks for pointing the group out to me I missed the link to it on the google code page to it.</description>
		<content:encoded><![CDATA[<p>James thanks for pointing the group out to me I missed the link to it on the google code page to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Gregory</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-14258</link>
		<dc:creator>James Gregory</dc:creator>
		<pubDate>Mon, 08 Dec 2008 08:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-14258</guid>
		<description>@Chris Please use the Fluent NHibernate google group to ask those kind of questions, you&#039;ll get a much prompter response.

&lt;a href=&quot;http://groups.google.com/group/fluent-nhibernate&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/fluent-nhibernate&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@Chris Please use the Fluent NHibernate google group to ask those kind of questions, you&#8217;ll get a much prompter response.</p>
<p><a href="http://groups.google.com/group/fluent-nhibernate" rel="nofollow">http://groups.google.com/group/fluent-nhibernate</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Marisic</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-14251</link>
		<dc:creator>Chris Marisic</dc:creator>
		<pubDate>Mon, 08 Dec 2008 01:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-14251</guid>
		<description>Also is there a way to setup the AutoPerisistanceModel to use component objects like you can with regular mapping

 Map(x =&gt; x.HireDate);
            Map(x =&gt; x.Phone,&quot;HomePhone&quot;).WithLengthOf(24);

            Component(employee =&gt; employee.Address,
                             address =&gt;
                             {
                                 address.Map(a =&gt; a.City).WithLengthOf(15);
                                 address.Map(a =&gt; a.CountryRegionName).WithLengthOf(15);
                                 address.Map(a =&gt; a.PostalCode).WithLengthOf(10);                                
                                 address.Map(a =&gt; a.StateProvinceName).WithLengthOf(15);
                                 address.Map(a =&gt; a.AddressLine1,&quot;Address&quot;).WithLengthOf(60);
                             }
              );</description>
		<content:encoded><![CDATA[<p>Also is there a way to setup the AutoPerisistanceModel to use component objects like you can with regular mapping</p>
<p> Map(x =&gt; x.HireDate);<br />
            Map(x =&gt; x.Phone,&#8221;HomePhone&#8221;).WithLengthOf(24);</p>
<p>            Component(employee =&gt; employee.Address,<br />
                             address =&gt;<br />
                             {<br />
                                 address.Map(a =&gt; a.City).WithLengthOf(15);<br />
                                 address.Map(a =&gt; a.CountryRegionName).WithLengthOf(15);<br />
                                 address.Map(a =&gt; a.PostalCode).WithLengthOf(10);<br />
                                 address.Map(a =&gt; a.StateProvinceName).WithLengthOf(15);<br />
                                 address.Map(a =&gt; a.AddressLine1,&#8221;Address&#8221;).WithLengthOf(60);<br />
                             }<br />
              );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Marisic</title>
		<link>http://jagregory.com/writings/introducing-fluent-nhibernate/comment-page-1/#comment-14250</link>
		<dc:creator>Chris Marisic</dc:creator>
		<pubDate>Mon, 08 Dec 2008 01:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=95#comment-14250</guid>
		<description>Is there a way to use the AutoPersistenceModel and set a convention for the table name similar to the way you can with primary keys etc?

var persistenceModel = AutoPersistenceModel.MapEntitiesFromAssemblyOf()
                .WithConvention(c =&gt; c.GetPrimaryKeyName = p =&gt; p.Name + &quot;ID&quot;)
But like
                .WithConvention(c =&gt; c.GetTableName = t =&gt; &quot;tbl&quot; + t.Name)</description>
		<content:encoded><![CDATA[<p>Is there a way to use the AutoPersistenceModel and set a convention for the table name similar to the way you can with primary keys etc?</p>
<p>var persistenceModel = AutoPersistenceModel.MapEntitiesFromAssemblyOf()<br />
                .WithConvention(c =&gt; c.GetPrimaryKeyName = p =&gt; p.Name + &#8220;ID&#8221;)<br />
But like<br />
                .WithConvention(c =&gt; c.GetTableName = t =&gt; &#8220;tbl&#8221; + t.Name)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.500 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-29 19:33:12 -->
<!-- Compression = gzip -->