Construct a non-virtual identifier property.

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

Syntax

C#
public IdentifierProperty(
	string name,
	string node,
	IType type,
	bool embedded,
	IdentifierValue unsavedValue,
	IIdentifierGenerator identifierGenerator
)
Visual Basic
Public Sub New ( _
	name As String, _
	node As String, _
	type As IType, _
	embedded As Boolean, _
	unsavedValue As IdentifierValue, _
	identifierGenerator As IIdentifierGenerator _
)
Visual C++
public:
IdentifierProperty(
	String^ name, 
	String^ node, 
	IType^ type, 
	bool embedded, 
	IdentifierValue^ unsavedValue, 
	IIdentifierGenerator^ identifierGenerator
)

Parameters

name
Type: System..::..String
The name of the property representing the identifier within its owning entity.
node
Type: System..::..String
The node name to use for XML-based representation of this property.
type
Type: NHibernate.Type..::..IType
The Hibernate Type for the identifier property.
embedded
Type: System..::..Boolean
Is this an embedded identifier.
unsavedValue
Type: NHibernate.Engine..::..IdentifierValue
The value which, if found as the value on the identifier property, represents new (i.e., un-saved) instances of the owning entity.
identifierGenerator
Type: NHibernate.Id..::..IIdentifierGenerator
The generator to use for id value generation.

See Also