Indicates whether given properties are generated by the database and, if so, at what time(s) they are generated.

Namespace:  NHibernate.Mapping
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Enumeration PropertyGeneration
C#
public enum PropertyGeneration
Visual C++
public enum class PropertyGeneration
JavaScript
NHibernate.Mapping.PropertyGeneration = function();
NHibernate.Mapping.PropertyGeneration.createEnum('NHibernate.Mapping.PropertyGeneration', false);

Members

Member nameDescription
Never
Values for this property are never generated by the database.
Insert
Values for this property are generated by the database on insert.
Always
Values for this property are generated by the database on both insert and update.

See Also