I recently got the latest NH trunk, Linq from NHContrib and Fluent NHib +Framework all passing ALL unit tests and had to make a small addition (well I didn't have to but it seemed reasonable) to PersistenceConfiguration.cs . Sorry if you have already discussed this critical new setting via the latest code drops on SVN.
Here is the additional code (4I am not sure but I expect this would cause an exception as an unknown setting on prior versions? Do you have a conditional compile constant fot this? I didn't find anything). Anyway here it is: Index: PersistenceConfiguration.cs =================================================================== --- PersistenceConfiguration.cs (revision 214) +++ PersistenceConfiguration.cs (working copy) @@ -25,6 +25,7 @@ protected const string QuerySubstitutionsKey = "query.substitutions"; protected const string ShowSqlKey = "show_sql"; + protected const string ProxyFactoryClassKey = "proxyfactory.factory_class"; protected const string ConnectionProviderKey = "connection.provider"; protected const string DefaultConnectionProviderClassName = "NHibernate.Connection.DriverConnectionProvider"; protected const string DriverClassKey = "connection.driver_class"; @@ -72,6 +73,14 @@ } } + + public THIS ProxyFactoryClass(string typeName) + { + _values.Store(ProxyFactoryClassKey, typeName); + return (THIS)this; + } + + public THIS Dialect(string dialect) { _values.Store(DialectKey, dialect); Also, I posted this work with your assemblies prominent in the NDepend report accompanying it. I only posted the debug binaries from this work, not source and if I broke any convention (no pun intended) on your licensing references, let me know and I will resolve. This would also be a proposed new drop of NHiberante 2.1 and Linq to NHibernate on 2.1 for your tools packaging of these binaries if you think it is appropriate. This is all located here: http://www.domaindotnet.com/nhibernatelinq/ndepend/ComponentDependenciesDiagram.png http://groups.google.com/group/sharp-architecture/web/nhibernate-linq-details http://www.domaindotnet.com/nhibernatelinq/ndepend/ndependreport.html on the NHib 2.1 trunk with the NHib contrib patch on Linq to NHibernate for 2.1 (they released alpha on 2.01 - which I notices you do not ship in your default set of binaries, instead including the version with a nasty bug on thread_static context session configs.. Anyway to do this I had to add one thing to config and I created a patch for the project. This new config ( For the record I am converted to the cause of fluent NHibernate (grin). It's far better than attributes of course, and at the time I did not realize the additional benefits of 'more power' and 'more goodness' in compile type options. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---