Namespaces

Types

Type IClassMap

Namespace FluentNHibernate.Mapping

Interfaces IClasslike, IHasAttributes

Methods

Properties

Public instance methods

void ApplyMappings(IMappingVisitor visitor)

Parameters
IMappingVisitor visitor

void AutoImport()

Sets the hibernate-mapping auto-import for this class.

IClassMap BatchSize(int size)

Parameters
return IClassMap
int size

XmlDocument CreateMapping(IMappingVisitor visitor)

Parameters
return XmlDocument
IMappingVisitor visitor

void DynamicInsert()

Sets this entity to be dynamic insert

void DynamicUpdate()

Sets this entity to be dynamic update

ImportPart ImportType<TImport>()

Imports an existing type for use in the mapping.
Parameters
return ImportPart

void LazyLoad()

Sets this entity to be lazy-loaded (overrides the default lazy load configuration).

void OverrideAssembly(Assembly assembly)

Override the inferred assembly for this class
Parameters
Assembly assembly Assembly to use

void OverrideAssembly(string assembly)

Override the inferred assembly for this class
Parameters
string assembly Assembly to use

void OverrideNamespace(string namespace)

Override the inferred namespace for this class
Parameters
string namespace Namespace to use

void ReadOnly()

Set the mutability of this class, sets the mutable attribute.

void SchemaIs(string schema)

Sets the hibernate-mapping schema for this class.
Parameters
string schema Schema name

void SetHibernateMappingAttribute(string name, bool value)

Parameters
string name
bool value

void SetHibernateMappingAttribute(string name, string value)

Parameters
string name
string value

void WithTable(string tableName)

Sets the table for the class.
Parameters
string tableName Table name

Public properties

Cache<KEY, VALUE> Attributes get;

return Cache<KEY, VALUE>

ICache Cache get;

return ICache

Type EntityType get;

return Type

Cache<KEY, VALUE> HibernateMappingAttributes get;

return Cache<KEY, VALUE>

IClassMap Not get;

Inverse next boolean
return IClassMap

OptimisticLockBuilder OptimisticLock get;

Sets the optimistic locking strategy
return OptimisticLockBuilder

string TableName get;

return string