Construct a virtual IdentifierProperty.

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

Syntax

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

Parameters

type
Type: NHibernate.Type..::..IType
The Hibernate Type for the identifier property.
embedded
Type: System..::..Boolean
Is this an embedded identifier.
hasIdentifierMapper
Type: System..::..Boolean

[Missing <param name="hasIdentifierMapper"/> documentation for "M:NHibernate.Tuple.IdentifierProperty.#ctor(NHibernate.Type.IType,System.Boolean,System.Boolean,NHibernate.Engine.IdentifierValue,NHibernate.Id.IIdentifierGenerator)"]

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