Indicates whether given properties are generated by the database and, if
so, at what time(s) they are generated.
Namespace: NHibernate.MappingAssembly: 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 name | Value | Description | |
|---|---|---|---|
| Never | 0 | Values for this property are never generated by the database. | |
| Insert | 1 | Values for this property are generated by the database on insert. | |
| Always | 2 | 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 |