Re: [fluent-nhib] Fluent Configuration BuildConfiguration vs BuildSessionFactory

2010-01-28 Thread James Gregory
Nobody's making you use ExposeConfiguration, and BuildConfiguration is there so you can do things like you've shown. On Thu, Jan 28, 2010 at 9:17 PM, Weston Binford wrote: > About a year ago, there was a discussion ( http://bit.ly/b8A4WN ) here > about making the NHibernate Configuration availab

[fluent-nhib] Fluent Configuration BuildConfiguration vs BuildSessionFactory

2010-01-28 Thread Weston Binford
About a year ago, there was a discussion ( http://bit.ly/b8A4WN ) here about making the NHibernate Configuration available from the Fluent Configuration API using ExposeConfiguration(). However, I am curious why not just use FluentConfiguration.BuildConfiguration() instead of Fluent BuildSessionFa

[fluent-nhib] Fluent Configuration

2009-03-05 Thread Craig van Nieuwkerk
I am trying to configure fluent nHibernate and have this code                Assembly mappingAssembly = Assembly.ReflectionOnlyLoadFrom("LibrarySample.Model.dll");                sessionFactory = Fluently.Configure()                  .Database(MsSqlConfiguration.MsSql2005                    .Con

[fluent-nhib] Fluent configuration API

2009-02-02 Thread James Gregory
Guys, Yesterday I committed a reasonably large commit that added a new API to FNH, it's purpose is to tie together our existing APIs in such a manner to make it extremely easy to configure an entire application with FNH. This blog post outlines the main usage scenarios: Fluent NHibernate: Configur