Generates an IdentifierProperty representation of the for a given entity mapping.

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

Syntax

C#
public static IdentifierProperty BuildIdentifierProperty(
	PersistentClass mappedEntity,
	IIdentifierGenerator generator
)
Visual Basic
Public Shared Function BuildIdentifierProperty ( _
	mappedEntity As PersistentClass, _
	generator As IIdentifierGenerator _
) As IdentifierProperty
Visual C++
public:
static IdentifierProperty^ BuildIdentifierProperty(
	PersistentClass^ mappedEntity, 
	IIdentifierGenerator^ generator
)

Parameters

mappedEntity
Type: NHibernate.Mapping..::..PersistentClass
The mapping definition of the entity.
generator
Type: NHibernate.Id..::..IIdentifierGenerator
The identifier value generator to use for this identifier.

Return Value

The appropriate IdentifierProperty definition.

See Also