<?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: Fluent NHibernate&#8217;s AutoPersistenceModel: I Love it!</title>
	<atom:link href="http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/</link>
	<description>What's practical is logical</description>
	<lastBuildDate>Mon, 27 Jul 2009 17:16:58 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: links for 2009-06-14 &#171; Praveen&#8217;s Blog</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-47010</link>
		<dc:creator>links for 2009-06-14 &#171; Praveen&#8217;s Blog</dc:creator>
		<pubDate>Mon, 15 Jun 2009 00:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-47010</guid>
		<description>[...] » Fluent NHibernate’s AutoPersistenceModel: I Love it! (tags: tools development .net c# configuration nhibernate fluent orm mapping fluentnhibernate) [...]</description>
		<content:encoded><![CDATA[<p>[...] » Fluent NHibernate’s AutoPersistenceModel: I Love it! (tags: tools development .net c# configuration nhibernate fluent orm mapping fluentnhibernate) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rusty</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-39911</link>
		<dc:creator>Rusty</dc:creator>
		<pubDate>Fri, 06 Feb 2009 20:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-39911</guid>
		<description>Hello Chris, Would you happen to have Visual Studio 2005 solution build for this test, If so can you provide a zip file for it. I tried testing it, but keep getting null pointer excpetion.

Thanks</description>
		<content:encoded><![CDATA[<p>Hello Chris, Would you happen to have Visual Studio 2005 solution build for this test, If so can you provide a zip file for it. I tried testing it, but keep getting null pointer excpetion.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pucca</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-39347</link>
		<dc:creator>Pucca</dc:creator>
		<pubDate>Mon, 26 Jan 2009 22:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-39347</guid>
		<description>Hi, I tried using your code in my web application but I&#039;m getting error bebow.  Do you know what could possibly be causing this?  thanks.
If not, Can you post the code so I can compare it to my code and see what I&#039;m doing wrong.

Exception Details: System.InvalidOperationException: Late bound operations cannot be performed on types or methods for which ContainsGenericParameters is true.

Source Error:

Line 55:             var peristenceModel = AutoPersistenceModel.MapEntitiesFromAssemblyOf();
Line 56: 
Line 57:             peristenceModel.Configure(config);
Line 58: 
Line 59:             var document = peristenceModel


Stack Trace:

[InvalidOperationException: Late bound operations cannot be performed on types or methods for which ContainsGenericParameters is true.]
   System.Reflection.RuntimeMethodInfo.ThrowNoInvokeException() +316
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +2753966
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +17
   FluentNHibernate.InvocationHelper.InvokeGenericMethodWithDynamicTypeArguments(T target, Expression`1 expression, Object[] methodArguments, Type[] typeArguments) +283
   FluentNHibernate.AutoMap.AutoPersistenceModel.FindMapping(Type type) +252
   FluentNHibernate.AutoMap.AutoPersistenceModel.Configure(Configuration configuration) +147</description>
		<content:encoded><![CDATA[<p>Hi, I tried using your code in my web application but I&#8217;m getting error bebow.  Do you know what could possibly be causing this?  thanks.<br />
If not, Can you post the code so I can compare it to my code and see what I&#8217;m doing wrong.</p>
<p>Exception Details: System.InvalidOperationException: Late bound operations cannot be performed on types or methods for which ContainsGenericParameters is true.</p>
<p>Source Error:</p>
<p>Line 55:             var peristenceModel = AutoPersistenceModel.MapEntitiesFromAssemblyOf();<br />
Line 56:<br />
Line 57:             peristenceModel.Configure(config);<br />
Line 58:<br />
Line 59:             var document = peristenceModel</p>
<p>Stack Trace:</p>
<p>[InvalidOperationException: Late bound operations cannot be performed on types or methods for which ContainsGenericParameters is true.]<br />
   System.Reflection.RuntimeMethodInfo.ThrowNoInvokeException() +316<br />
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +2753966<br />
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29<br />
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +17<br />
   FluentNHibernate.InvocationHelper.InvokeGenericMethodWithDynamicTypeArguments(T target, Expression`1 expression, Object[] methodArguments, Type[] typeArguments) +283<br />
   FluentNHibernate.AutoMap.AutoPersistenceModel.FindMapping(Type type) +252<br />
   FluentNHibernate.AutoMap.AutoPersistenceModel.Configure(Configuration configuration) +147</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Morris</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-39259</link>
		<dc:creator>Peter Morris</dc:creator>
		<pubDate>Sun, 25 Jan 2009 07:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-39259</guid>
		<description>I&#039;ve just come across another very similar blog on the same subject.  I added the same comment to that blog too:

It&#039;s weird how this stuff is new.  Back in 2002 I was using a tool that did this.  In fact, not only does it automap + create the DB, you can also change your model and ask it to generate the script required to &quot;evolve&quot; the DB structure, which is useful at the point of release when you need a SQL script to upgrade a customer&#039;s database structure as part of your server upgrade installer.

It handles class renames, member renames, all sorts.  I&#039;ve linked it in the URL (which isn&#039;t mine).

I&#039;ll take a look at NHibernate though, just out of curiousity.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just come across another very similar blog on the same subject.  I added the same comment to that blog too:</p>
<p>It&#8217;s weird how this stuff is new.  Back in 2002 I was using a tool that did this.  In fact, not only does it automap + create the DB, you can also change your model and ask it to generate the script required to &#8220;evolve&#8221; the DB structure, which is useful at the point of release when you need a SQL script to upgrade a customer&#8217;s database structure as part of your server upgrade installer.</p>
<p>It handles class renames, member renames, all sorts.  I&#8217;ve linked it in the URL (which isn&#8217;t mine).</p>
<p>I&#8217;ll take a look at NHibernate though, just out of curiousity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eknacks</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-36576</link>
		<dc:creator>eknacks</dc:creator>
		<pubDate>Tue, 09 Dec 2008 21:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-36576</guid>
		<description>You&#039;ve been knacked. Keep up the good work.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve been knacked. Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Marisic</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-36260</link>
		<dc:creator>Chris Marisic</dc:creator>
		<pubDate>Fri, 05 Dec 2008 14:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-36260</guid>
		<description>I meant just the table diagrams for your examples here.</description>
		<content:encoded><![CDATA[<p>I meant just the table diagrams for your examples here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris van de Steeg</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-36249</link>
		<dc:creator>Chris van de Steeg</dc:creator>
		<pubDate>Fri, 05 Dec 2008 08:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-36249</guid>
		<description>@ChrisMarisic: you can easily create your database schema like so:
new NHibernate.Tool.hbm2ddl.SchemaExport(config).Execute(true, true, false, true);</description>
		<content:encoded><![CDATA[<p>@ChrisMarisic: you can easily create your database schema like so:<br />
new NHibernate.Tool.hbm2ddl.SchemaExport(config).Execute(true, true, false, true);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Marisic</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-36227</link>
		<dc:creator>Chris Marisic</dc:creator>
		<pubDate>Thu, 04 Dec 2008 22:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-36227</guid>
		<description>Could you please post your database schema you have your entities mapping to.</description>
		<content:encoded><![CDATA[<p>Could you please post your database schema you have your entities mapping to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Ide</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-36194</link>
		<dc:creator>Jamie Ide</dc:creator>
		<pubDate>Thu, 04 Dec 2008 14:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-36194</guid>
		<description>Neat. I knew that auto mapping existed but I wasn&#039;t sure how to customize it.

By the way, you can use
.ConnectionString.FromConnectionStringWithyKey(key)
while initializing the configuration instead of loading it from configuration.</description>
		<content:encoded><![CDATA[<p>Neat. I knew that auto mapping existed but I wasn&#8217;t sure how to customize it.</p>
<p>By the way, you can use<br />
.ConnectionString.FromConnectionStringWithyKey(key)<br />
while initializing the configuration instead of loading it from configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: znalec</title>
		<link>http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/comment-page-1/#comment-36188</link>
		<dc:creator>znalec</dc:creator>
		<pubDate>Thu, 04 Dec 2008 12:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/12/02/fluent-nhibernates-autopersistencemodel-i-love-it/#comment-36188</guid>
		<description>everybody knows that you loved what you saw by looking at the unit tests...
but what about telling US what you saw? ;)

not everyone on a plannet is a guru in nHibernate topic, and not everyone heard about Fluent mapping. I&#039;ve used nHibernate a bit (and dropped it because of added complexity not needed in a web applications) and I&#039;ve just heard about Fluent NHibernate but I really have no idea what your article was about, sorry...

next time please try to compare 2 situations and clearly show what is the win of using the new feature for beginners, I I would be an expert in Fluent NHibernate I wouldn&#039;t be in a need of reading your article in a first place...

thanks for it anyway, at least I understand NHibernate isn&#039;t as complex as it was...somehow ;)

hope my _criticism_ will move your explanation to NHibernate beginners like me a little closer, thanks</description>
		<content:encoded><![CDATA[<p>everybody knows that you loved what you saw by looking at the unit tests&#8230;<br />
but what about telling US what you saw? <img src='http://www.chrisvandesteeg.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>not everyone on a plannet is a guru in nHibernate topic, and not everyone heard about Fluent mapping. I&#8217;ve used nHibernate a bit (and dropped it because of added complexity not needed in a web applications) and I&#8217;ve just heard about Fluent NHibernate but I really have no idea what your article was about, sorry&#8230;</p>
<p>next time please try to compare 2 situations and clearly show what is the win of using the new feature for beginners, I I would be an expert in Fluent NHibernate I wouldn&#8217;t be in a need of reading your article in a first place&#8230;</p>
<p>thanks for it anyway, at least I understand NHibernate isn&#8217;t as complex as it was&#8230;somehow <img src='http://www.chrisvandesteeg.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>hope my _criticism_ will move your explanation to NHibernate beginners like me a little closer, thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
