Title says it all.
From what I understand I need to end up with this
<property name="hibernate.generate_statistics">true</property>
on the session factory configuration, but I've no idea how to do that with fluent nhibernate.
Thanks
Andrew
Title says it all.
From what I understand I need to end up with this
<property name="hibernate.generate_statistics">true</property>
on the session factory configuration, but I've no idea how to do that with fluent nhibernate.
Thanks
Andrew
Configuration.ExposeConfiguration(c => c.SetProperty("generate_statistics", "true"));
Depending on how you're configuring Fluent NHibernate, the Database Configuration has a Raw
method that you can use to specify settings that we haven't implemented yet.
SQLiteConfiguration.Standard
.Raw("hibernate.generate_statistics", "true");