Instantiate the entity class, initializing with the given identifier

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

Syntax

Visual Basic (Declaration)
Function Instantiate ( _
	clazz As Type, _
	id As Object _
) As Object
C#
Object Instantiate(
	Type clazz,
	Object id
)
Visual C++
Object^ Instantiate(
	Type^ clazz, 
	Object^ id
)
JavaScript
function instantiate(clazz, id);

Parameters

clazz
Type: System..::.Type
id
Type: System..::.Object

See Also