C# Class FluentNHibernate.Cfg.AutoMappingsContainer

Container for automatic mappings
Show file Open project: HudsonAkridge/fluent-nhibernate Class Usage Examples

Private Properties

Property Type Description
Apply void
AutoMappingsContainer System

Public Methods

Method Description
Add ( AutoPersistenceModel model ) : AutoMappingsContainer

Add automatic mappings

Add ( Func model ) : AutoMappingsContainer

Add automatic mappings

ExportTo ( string path ) : AutoMappingsContainer

Sets the export location for generated mappings

Private Methods

Method Description
Apply ( NHibernate.Cfg.Configuration cfg ) : void

Applies any added mappings to the NHibernate Configuration

AutoMappingsContainer ( ) : System

Method Details

Add() public method

Add automatic mappings
public Add ( AutoPersistenceModel model ) : AutoMappingsContainer
model AutoPersistenceModel Auto mapping setup
return AutoMappingsContainer

Add() public method

Add automatic mappings
public Add ( Func model ) : AutoMappingsContainer
model Func Lambda returning an auto mapping setup
return AutoMappingsContainer

ExportTo() public method

Sets the export location for generated mappings
public ExportTo ( string path ) : AutoMappingsContainer
path string Path to folder for mappings
return AutoMappingsContainer