+1 On Mon, Feb 2, 2009 at 6:42 PM, James Gregory <[email protected]>wrote:
> Guys, > Just a heads up, I've made some changes to the database configuration API. > Reason being that it wasn't entirely gelling with the Fluent.Configure > API<http://blog.jagregory.com/2009/02/03/fluent-nhibernate-configuring-your-application/>, > and there had been some suggestions for improvements that we hadn't yet > made. > > The changes resolve down to this: > > ConnectionString and Cache are now no longer properties, but Methods that > accept lambdas. Namespaces moved from FluentNHibernate.Cfg to > FluentNHibernate.Cfg.Db > > MsSqlConfiguration.MsSql2005 > .ConnectionString > .Database("db") > .Username("james") > .Password("password1") > .Create; > > is now: > > MsSqlConfiguration.MsSql2005 > .ConnectionString(c => c > .Database("db") > .Username("james") > .Password("password1")); > > Same deal with Cache. > > Let me know if anyone has any issues. > > James > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
