<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5996062652829415230.post2080604381116301963..comments</id><updated>2010-07-21T09:24:28.978-04:00</updated><title type='text'>Comments on The Untitled Blog: Fluent NHibernate Configured Via Dependency Inject...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.stevehorn.cc/feeds/2080604381116301963/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default'/><link rel='alternate' type='text/html' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html'/><author><name>Steve Horn</name><uri>http://www.blogger.com/profile/11799829988971859359</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5996062652829415230.post-975247088902044610</id><published>2009-09-24T07:17:48.605-04:00</published><updated>2009-09-24T07:17:48.605-04:00</updated><title type='text'>Top post, it's a real help. But I'm somewhere betw...</title><content type='html'>Top post, it&amp;#39;s a real help. But I&amp;#39;m somewhere between lost and getting-it. I think I&amp;#39;m ok with the individual parts (Fluent, DI, MVC), but I&amp;#39;m lost at how they [glue] come together. You&amp;#39;re post is coming close to what I need. &lt;br /&gt;&lt;br /&gt;I&amp;#39;ve looked at OSS implementations but they&amp;#39;re to advanced, and posts that show the NHibernate implementation in a UnitTest project don&amp;#39;t go far enough. &lt;br /&gt;&lt;br /&gt;Do you have a solution file that went with this post so I can see it as a whole?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/975247088902044610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/975247088902044610'/><link rel='alternate' type='text/html' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html?showComment=1253791068605#c975247088902044610' title=''/><author><name>Ben Clark-Robinson</name><uri>http://www.blogger.com/profile/11673873016911348150</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html' ref='tag:blogger.com,1999:blog-5996062652829415230.post-2080604381116301963' source='http://www.blogger.com/feeds/5996062652829415230/posts/default/2080604381116301963' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5996062652829415230.post-7409172016140307260</id><published>2009-03-28T15:53:00.000-04:00</published><updated>2009-03-28T15:53:00.000-04:00</updated><title type='text'>@Tim The conventions are only necessary if you wan...</title><content type='html'>@Tim &lt;BR/&gt;&lt;BR/&gt;The conventions are only necessary if you want to deviate from the default conventions.  Fluent Nhibernate's default is for the Id column to be called "Id" in the database.  I happened to want the primary key called "EntityNameId".  Here's the code for that class:&lt;BR/&gt;&lt;BR/&gt;    public class PrimaryKeyConvention : IIdConvention&lt;BR/&gt;    {&lt;BR/&gt;        public bool Accept(IIdentityPart target)&lt;BR/&gt;        {&lt;BR/&gt;            return true;&lt;BR/&gt;        }&lt;BR/&gt;&lt;BR/&gt;        public void Apply(IIdentityPart target)&lt;BR/&gt;        {&lt;BR/&gt;            target.ColumnName(target.Property.ReflectedType.Name + "Id");&lt;BR/&gt;        }&lt;BR/&gt;    }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/7409172016140307260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/7409172016140307260'/><link rel='alternate' type='text/html' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html?showComment=1238269980000#c7409172016140307260' title=''/><author><name>Steve Horn</name><uri>http://www.blogger.com/profile/11799829988971859359</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09154138260003946301'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html' ref='tag:blogger.com,1999:blog-5996062652829415230.post-2080604381116301963' source='http://www.blogger.com/feeds/5996062652829415230/posts/default/2080604381116301963' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5996062652829415230.post-1888855309071584584</id><published>2009-03-28T14:52:00.000-04:00</published><updated>2009-03-28T14:52:00.000-04:00</updated><title type='text'>Reading through the Fluent nH wiki, it sounded lik...</title><content type='html'>Reading through the Fluent nH wiki, it sounded like the Id discovery was automatic. Did you have to add the Primary Key Convention part?&lt;BR/&gt;&lt;BR/&gt;Great post, Steve. I'll be using this one in the near future.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/1888855309071584584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/1888855309071584584'/><link rel='alternate' type='text/html' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html?showComment=1238266320000#c1888855309071584584' title=''/><author><name>Tim</name><uri>http://www.blogger.com/profile/11470576015704065027</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html' ref='tag:blogger.com,1999:blog-5996062652829415230.post-2080604381116301963' source='http://www.blogger.com/feeds/5996062652829415230/posts/default/2080604381116301963' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5996062652829415230.post-5642652051654975977</id><published>2009-03-21T18:30:00.000-04:00</published><updated>2009-03-21T18:30:00.000-04:00</updated><title type='text'>Looks great!  That's pretty much the same thing th...</title><content type='html'>Looks great!  That's pretty much the same thing that we're doing on our project.  &lt;BR/&gt;&lt;BR/&gt;IoC containers make things so much easier.  I don't know what I did without them.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/5642652051654975977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5996062652829415230/2080604381116301963/comments/default/5642652051654975977'/><link rel='alternate' type='text/html' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html?showComment=1237674600000#c5642652051654975977' title=''/><author><name>Jon Kruger</name><uri>http://jonkruger.com/blog</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html' ref='tag:blogger.com,1999:blog-5996062652829415230.post-2080604381116301963' source='http://www.blogger.com/feeds/5996062652829415230/posts/default/2080604381116301963' type='text/html'/></entry></feed>