So far I used this code to configure a session factory:
Configuration configuration = new Configuration(); configuration.Configure(); Ses
SessionFactory = Fluently.Configure(configuration).Mappings(m => { m.FluentMappings.AddFromAssemblyOf(); m.FluentMappings.AddFromAssemblyOf(); m.FluentMappings.AddFromAssemblyOf(); m.HbmMappings.AddFromAssemblyOf() }).BuildSessionFactory();