Construct a unique identifier for an entity class instance

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

Syntax

C#
public EntityKey(
	Object id,
	IEntityPersister persister,
	EntityMode entityMode
)
Visual Basic
Public Sub New ( _
	id As Object, _
	persister As IEntityPersister, _
	entityMode As EntityMode _
)
Visual C++
public:
EntityKey(
	Object^ id, 
	IEntityPersister^ persister, 
	EntityMode entityMode
)

Parameters

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Engine.EntityKey.#ctor(System.Object,NHibernate.Persister.Entity.IEntityPersister,NHibernate.EntityMode)"]

persister
Type: NHibernate.Persister.Entity..::..IEntityPersister

[Missing <param name="persister"/> documentation for "M:NHibernate.Engine.EntityKey.#ctor(System.Object,NHibernate.Persister.Entity.IEntityPersister,NHibernate.EntityMode)"]

entityMode
Type: NHibernate..::..EntityMode

[Missing <param name="entityMode"/> documentation for "M:NHibernate.Engine.EntityKey.#ctor(System.Object,NHibernate.Persister.Entity.IEntityPersister,NHibernate.EntityMode)"]

See Also