Namespaces

Types in FluentNHibernate

Type PersistenceModel

Namespace FluentNHibernate

Methods

Properties

Public instance methods

void Add(IIndeterminateSubclassMappingProvider provider)

void Add(IFilterDefinition definition)

void Add(Type type)

Creates an instance of an IAutoMappingAlteration from a type instance, then adds it to the alterations collection.
Parameters
Type type

Type of an IAutoMappingAlteration

void Add(IMappingProvider provider)

void Add(IExternalComponentMappingProvider provider)

void AddMappingsFromAssembly(Assembly assembly)

void AddMappingsFromSource(ITypeSource source)

IEnumerable<HibernateMapping> BuildMappings()

void Configure(Configuration cfg)

Begin fluently configuring NHibernate
Parameters
Configuration cfg

Instance of an NHibernate Configuration

Return
void

Fluent Configuration

bool ContainsMapping(Type type)

void SetLogger(IDiagnosticLogger logger)

void WriteMappingsTo(string folder)

void WriteMappingsTo(TextWriter writer)

Public properties

PairBiDirectionalManyToManySidesDelegate BiDirectionalManyToManyPairer get; set;

IConventionFinder Conventions get; set;

bool MergeMappings get; set;

bool ValidationEnabled get; set;

Gets or sets whether validation of mappings is performed.