views:

57

answers:

1

I was going through nHibernate Helper Class question on SO... I would like to get a helper class for fluent nHibernate... can anyone provide/refer a proper OO type helper class for managing a singleton of the SessionFactory and then also for managing Sessions?

+2  A: 

Fluent NHibernate is only a layer on top of NHibernate's mapping API, allowing the programmer to map entities using code and conventions instead of XML or attributes. It has no relation to NHibernate's sessions.

Most of the code for NHibernate (including helpers for session factories and sessions) applies to Fluent NHibernate as well.

Mauricio Scheffer