C# Class FluentNHibernate.PersistenceModel

Show file Open project: HudsonAkridge/fluent-nhibernate Class Usage Examples

Protected Properties

Property Type Description
mappings IList

Public Methods

Method Description
Add ( IMappingProvider provider ) : void
Add ( Type type ) : void
AddConvention ( IMappingModelVisitor visitor ) : void
AddMappingsFromAssembly ( Assembly assembly ) : void
ApplyConventions ( ) : void
ApplyVisitors ( HibernateMapping mapping ) : void
BuildMappings ( ) : IEnumerable
Configure ( NHibernate.Cfg.Configuration cfg ) : void
PersistenceModel ( ) : System
PersistenceModel ( IConventionFinder conventionFinder ) : System
PersistenceModel ( IEnumerable providers, IList visitors ) : System
WriteMappingsTo ( string folder ) : void

Protected Methods

Method Description
AddMappingsFromThisAssembly ( ) : void

Private Methods

Method Description
AddDefaultConventions ( ) : void
AddDiscoveryConventions ( ) : void
EnsureMappingsBuilt ( ) : void
FindTheCallingAssembly ( ) : Assembly

Method Details

Add() public method

public Add ( IMappingProvider provider ) : void
provider IMappingProvider
return void

Add() public method

public Add ( Type type ) : void
type System.Type
return void

AddConvention() public method

public AddConvention ( IMappingModelVisitor visitor ) : void
visitor IMappingModelVisitor
return void

AddMappingsFromAssembly() public method

public AddMappingsFromAssembly ( Assembly assembly ) : void
assembly System.Reflection.Assembly
return void

AddMappingsFromThisAssembly() protected method

protected AddMappingsFromThisAssembly ( ) : void
return void

ApplyConventions() public method

public ApplyConventions ( ) : void
return void

ApplyVisitors() public method

public ApplyVisitors ( HibernateMapping mapping ) : void
mapping FluentNHibernate.MappingModel.HibernateMapping
return void

BuildMappings() public method

public BuildMappings ( ) : IEnumerable
return IEnumerable

Configure() public method

public Configure ( NHibernate.Cfg.Configuration cfg ) : void
cfg NHibernate.Cfg.Configuration
return void

PersistenceModel() public method

public PersistenceModel ( ) : System
return System

PersistenceModel() public method

public PersistenceModel ( IConventionFinder conventionFinder ) : System
conventionFinder IConventionFinder
return System

PersistenceModel() public method

public PersistenceModel ( IEnumerable providers, IList visitors ) : System
providers IEnumerable
visitors IList
return System

WriteMappingsTo() public method

public WriteMappingsTo ( string folder ) : void
folder string
return void

Property Details

mappings protected property

protected IList mappings
return IList