Namespaces

Types in FluentNHibernate.Cfg

Type AutoMappingsContainer

Namespace FluentNHibernate.Cfg

Interfaces IEnumerable<AutoPersistenceModel>

Container for automatic mappings

Methods

Public instance methods

AutoMappingsContainer Add(AutoPersistenceModel model)

Add automatic mappings
Parameters
AutoPersistenceModel model

Auto mapping setup

Return
AutoMappingsContainer

Auto mappings configuration

AutoMappingsContainer Add(Func<AutoPersistenceModel> model)

Add automatic mappings
Parameters
Func<AutoPersistenceModel> model

Lambda returning an auto mapping setup

Return
AutoMappingsContainer

Auto mappings configuration

AutoMappingsContainer ExportTo(TextWriter textWriter)

Sets the text writer to write the generated mappings to.
Return
AutoMappingsContainer

Fluent mappings configuration

AutoMappingsContainer ExportTo(string path)

Sets the export location for generated mappings
Parameters
string path

Path to folder for mappings

Return
AutoMappingsContainer

Auto mappings configuration