Constructs VersionProperty instances.

Namespace: NHibernate.Tuple
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public VersionProperty(
	string name,
	string node,
	IType type,
	bool lazy,
	bool insertable,
	bool updateable,
	bool insertGenerated,
	bool updateGenerated,
	bool nullable,
	bool checkable,
	bool versionable,
	CascadeStyle cascadeStyle,
	VersionValue unsavedValue
)
Visual Basic
Public Sub New ( _
	name As String, _
	node As String, _
	type As IType, _
	lazy As Boolean, _
	insertable As Boolean, _
	updateable As Boolean, _
	insertGenerated As Boolean, _
	updateGenerated As Boolean, _
	nullable As Boolean, _
	checkable As Boolean, _
	versionable As Boolean, _
	cascadeStyle As CascadeStyle, _
	unsavedValue As VersionValue _
)
Visual C++
public:
VersionProperty(
	String^ name, 
	String^ node, 
	IType^ type, 
	bool lazy, 
	bool insertable, 
	bool updateable, 
	bool insertGenerated, 
	bool updateGenerated, 
	bool nullable, 
	bool checkable, 
	bool versionable, 
	CascadeStyle^ cascadeStyle, 
	VersionValue^ unsavedValue
)

Parameters

name
Type: System..::..String
The name by which the property can be referenced within its owner.
node
Type: System..::..String
The node name to use for XML-based representation of this property.
type
Type: NHibernate.Type..::..IType
The Hibernate Type of this property.
lazy
Type: System..::..Boolean
Should this property be handled lazily?
insertable
Type: System..::..Boolean
Is this property an insertable value?
updateable
Type: System..::..Boolean
Is this property an updateable value?
insertGenerated
Type: System..::..Boolean
Is this property generated in the database on insert?
updateGenerated
Type: System..::..Boolean
Is this property generated in the database on update?
nullable
Type: System..::..Boolean
Is this property a nullable value?
checkable
Type: System..::..Boolean
Is this property a checkable value?
versionable
Type: System..::..Boolean
Is this property a versionable value?
cascadeStyle
Type: NHibernate.Engine..::..CascadeStyle
The cascade style for this property's value.
unsavedValue
Type: NHibernate.Engine..::..VersionValue
The value which, if found as the value of this (i.e., the version) property, represents new (i.e., un-saved) instances of the owning entity.

See Also