<?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: Configuring your application</title>
	<atom:link href="http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/</link>
	<description>Monkeying with the code</description>
	<lastBuildDate>Wed, 04 Aug 2010 22:13:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James Gregory</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-50155</link>
		<dc:creator>James Gregory</dc:creator>
		<pubDate>Thu, 21 Jan 2010 10:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-50155</guid>
		<description>The &lt;a href=&quot;http://wiki.fluentnhibernate.org&quot; rel=&quot;nofollow&quot;&gt;wiki&lt;/a&gt; is your friend, read it.

&lt;a href=&quot;http://wiki.fluentnhibernate.org/Conventions&quot; rel=&quot;nofollow&quot;&gt;Conventions&lt;/a&gt;, &lt;a href=&quot;http://wiki.fluentnhibernate.org/Converting_to_new_style_conventions&quot; rel=&quot;nofollow&quot;&gt;converting to new-style conventions&lt;/a&gt;,
&lt;a href=&quot;http://wiki.fluentnhibernate.org/Available_conventions#ForeignKeyConvention&quot; rel=&quot;nofollow&quot;&gt;foreign-key conventions&lt;/a&gt;, and
&lt;a href=&quot;http://wiki.fluentnhibernate.org/Convention_shortcut&quot; rel=&quot;nofollow&quot;&gt;convention shortcuts&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>The <a href="http://wiki.fluentnhibernate.org" rel="nofollow">wiki</a> is your friend, read it.</p>
<p><a href="http://wiki.fluentnhibernate.org/Conventions" rel="nofollow">Conventions</a>, <a href="http://wiki.fluentnhibernate.org/Converting_to_new_style_conventions" rel="nofollow">converting to new-style conventions</a>,<br />
<a href="http://wiki.fluentnhibernate.org/Available_conventions#ForeignKeyConvention" rel="nofollow">foreign-key conventions</a>, and<br />
<a href="http://wiki.fluentnhibernate.org/Convention_shortcut" rel="nofollow">convention shortcuts</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: achu</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-50121</link>
		<dc:creator>achu</dc:creator>
		<pubDate>Wed, 20 Jan 2010 19:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-50121</guid>
		<description>how to setup the following in the current RTM.

model.Conventions.GetForeignKeyName = prop =&gt; prop.Name + &quot;Id&quot;; 

all i want to change Resource_Id to ResourceId.

no sample.. nothing exists.</description>
		<content:encoded><![CDATA[<p>how to setup the following in the current RTM.</p>
<p>model.Conventions.GetForeignKeyName = prop =&gt; prop.Name + &#8220;Id&#8221;; </p>
<p>all i want to change Resource_Id to ResourceId.</p>
<p>no sample.. nothing exists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Gregory</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-49581</link>
		<dc:creator>James Gregory</dc:creator>
		<pubDate>Thu, 14 Jan 2010 10:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-49581</guid>
		<description>jay: it&#039;s declared in FluentNHibernate.Cfg.Db</description>
		<content:encoded><![CDATA[<p>jay: it&#8217;s declared in FluentNHibernate.Cfg.Db</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-49456</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Wed, 13 Jan 2010 16:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-49456</guid>
		<description>where is SQLiteConfiguration declared/from?
as in SQLiteConfiguration.Standard.InMemory</description>
		<content:encoded><![CDATA[<p>where is SQLiteConfiguration declared/from?<br />
as in SQLiteConfiguration.Standard.InMemory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 5x1llz</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-21125</link>
		<dc:creator>5x1llz</dc:creator>
		<pubDate>Sun, 31 May 2009 12:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-21125</guid>
		<description>Sweet!

Can I just say I&#039;m really impressed so far with Fluent nHibernate docs... I appreciate the time you&#039;ve put in on the wiki and here.</description>
		<content:encoded><![CDATA[<p>Sweet!</p>
<p>Can I just say I&#8217;m really impressed so far with Fluent nHibernate docs&#8230; I appreciate the time you&#8217;ve put in on the wiki and here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Gregory</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-16882</link>
		<dc:creator>James Gregory</dc:creator>
		<pubDate>Thu, 12 Mar 2009 09:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-16882</guid>
		<description>Please use the &lt;a href=&quot;http://groups.google.com/group/fluent-nhibernate&quot; rel=&quot;nofollow&quot;&gt;mailing list&lt;/a&gt; for support, you&#039;ll get a better response from there.

As for your problem, why not just query an entity? It&#039;ll blow up if it can&#039;t reach the database.</description>
		<content:encoded><![CDATA[<p>Please use the <a href="http://groups.google.com/group/fluent-nhibernate" rel="nofollow">mailing list</a> for support, you&#8217;ll get a better response from there.</p>
<p>As for your problem, why not just query an entity? It&#8217;ll blow up if it can&#8217;t reach the database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No Body</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-16879</link>
		<dc:creator>No Body</dc:creator>
		<pubDate>Thu, 12 Mar 2009 07:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-16879</guid>
		<description>Ok, I am fine now.

Is seems, 

this is not working:
.Database(MsSqlConfiguration.MsSql2005
                     .ConnectionString(c =&gt; c
                         .Is(&quot;Data Source=OSMDBFUNC;Initial
 Catalog=ManDatabase;Persist Security Info=True;User
 ID=sa;Password=s@&quot;))

and changed it to: now it working =)

 .Database(MsSqlConfiguration.MsSql2005
                              .ConnectionString(c =&gt; c
                                                         .Server(&quot;osmdbfunc&quot;)
                                                         .Database(&quot;ManDatabase&quot;)
                                                         .Username(&quot;sa&quot;)
                                                         .Password(&quot;s@&quot;))

FYI: 
- Case-Sensitive in play


I still want the test fixture =).
And whats the different on the above, am I missing something?

thanks,
No Body.</description>
		<content:encoded><![CDATA[<p>Ok, I am fine now.</p>
<p>Is seems, </p>
<p>this is not working:<br />
.Database(MsSqlConfiguration.MsSql2005<br />
                     .ConnectionString(c =&gt; c<br />
                         .Is(&#8220;Data Source=OSMDBFUNC;Initial<br />
 Catalog=ManDatabase;Persist Security Info=True;User<br />
 ID=sa;Password=s@&#8221;))</p>
<p>and changed it to: now it working =)</p>
<p> .Database(MsSqlConfiguration.MsSql2005<br />
                              .ConnectionString(c =&gt; c<br />
                                                         .Server(&#8220;osmdbfunc&#8221;)<br />
                                                         .Database(&#8220;ManDatabase&#8221;)<br />
                                                         .Username(&#8220;sa&#8221;)<br />
                                                         .Password(&#8220;s@&#8221;))</p>
<p>FYI:<br />
- Case-Sensitive in play</p>
<p>I still want the test fixture =).<br />
And whats the different on the above, am I missing something?</p>
<p>thanks,<br />
No Body.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No Body</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-16877</link>
		<dc:creator>No Body</dc:creator>
		<pubDate>Thu, 12 Mar 2009 05:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-16877</guid>
		<description>how do you do testing on TDD(like nunit) on
connection is valid and really can pull some data?

here&#039;s my code below,  It seems the connection is the problem, that&#039;s
why may test yield null objects.

private ISessionFactory CreateSessionFactory()
        {
            return Fluently.Configure()
                .Database(MsSqlConfiguration.MsSql2005
                    .ConnectionString(c =&gt; c
                        .Is(&quot;Data Source=OSMDBFUNC;Initial
Catalog=ManDatabase;Persist Security Info=True;User
ID=sa;Password=s@&quot;))
                    .ShowSql())
                .Mappings(m =&gt; m
                    .HbmMappings.AddFromAssemblyOf())
                .BuildSessionFactory();
        } 

How do i test this one, that the Session have a live and can pull some data on my database?

Thanks,

NoBody</description>
		<content:encoded><![CDATA[<p>how do you do testing on TDD(like nunit) on<br />
connection is valid and really can pull some data?</p>
<p>here&#8217;s my code below,  It seems the connection is the problem, that&#8217;s<br />
why may test yield null objects.</p>
<p>private ISessionFactory CreateSessionFactory()<br />
        {<br />
            return Fluently.Configure()<br />
                .Database(MsSqlConfiguration.MsSql2005<br />
                    .ConnectionString(c =&gt; c<br />
                        .Is(&#8220;Data Source=OSMDBFUNC;Initial<br />
Catalog=ManDatabase;Persist Security Info=True;User<br />
ID=sa;Password=s@&#8221;))<br />
                    .ShowSql())<br />
                .Mappings(m =&gt; m<br />
                    .HbmMappings.AddFromAssemblyOf())<br />
                .BuildSessionFactory();<br />
        } </p>
<p>How do i test this one, that the Session have a live and can pull some data on my database?</p>
<p>Thanks,</p>
<p>NoBody</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop - February 3, 2009 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-15659</link>
		<dc:creator>Dew Drop - February 3, 2009 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Tue, 03 Feb 2009 14:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-15659</guid>
		<description>[...] Fluent NHibernate: Configuring Your Application (James Gregory) [...]</description>
		<content:encoded><![CDATA[<p>[...] Fluent NHibernate: Configuring Your Application (James Gregory) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Gregory</title>
		<link>http://jagregory.com/writings/fluent-nhibernate-configuring-your-application/comment-page-1/#comment-15650</link>
		<dc:creator>James Gregory</dc:creator>
		<pubDate>Tue, 03 Feb 2009 11:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jagregory.com/?p=246#comment-15650</guid>
		<description>Harry: You can grab it from inside the &lt;code&gt;ExposeConfiguration&lt;/code&gt; method.

I do it something like this:

&lt;pre name=&quot;code&quot; class=&quot;c-sharp&quot;&gt;
Fluently.Configure()  
  .Database(/* your database settings */)  
  .Mappings(/* your mappings */)  
  .ExposeConfiguration(BuildSchema)
  .BuildSessionFactory(); 
&lt;/pre&gt;

Where &lt;code&gt;BuildSchema&lt;/code&gt; is:
&lt;pre name=&quot;code&quot; class=&quot;c-sharp&quot;&gt;
private void BuildSchema(Configuration cfg)
{
  new SchemaExport(cfg)
    .Create(false, true);
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Harry: You can grab it from inside the <code>ExposeConfiguration</code> method.</p>
<p>I do it something like this:</p>
<pre name="code" class="c-sharp">
Fluently.Configure()
  .Database(/* your database settings */)
  .Mappings(/* your mappings */)
  .ExposeConfiguration(BuildSchema)
  .BuildSessionFactory();
</pre>
<p>Where <code>BuildSchema</code> is:</p>
<pre name="code" class="c-sharp">
private void BuildSchema(Configuration cfg)
{
  new SchemaExport(cfg)
    .Create(false, true);
}
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
