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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public enum PropertyGeneration
Visual Basic
Public Enumeration PropertyGeneration
Visual C++
public enum class PropertyGeneration

Members

Member nameValueDescription
Never0 Values for this property are never generated by the database.
Insert1 Values for this property are generated by the database on insert.
Always2 Values for this property are generated by the database on both insert and update.
IsIn Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsIn Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsBetween Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsProxy
As
ToTypeParameters

See Also