Construct a unique identifier for an entity class instance

Namespace:  NHibernate.Engine
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	id As Object, _
	p As IEntityPersister _
)
C#
public EntityKey(
	Object id,
	IEntityPersister p
)
Visual C++
public:
EntityKey(
	Object^ id, 
	IEntityPersister^ p
)
JavaScript
NHibernate.Engine.EntityKey = function(id, p);

See Also