Create a class instance initialized with the given identifier

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

Syntax

C#
Object Instantiate(
	Object id,
	EntityMode entityMode
)
Visual Basic
Function Instantiate ( _
	id As Object, _
	entityMode As EntityMode _
) As Object
Visual C++
Object^ Instantiate(
	Object^ id, 
	EntityMode entityMode
)

Parameters

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Metadata.IClassMetadata.Instantiate(System.Object,NHibernate.EntityMode)"]

entityMode
Type: NHibernate..::..EntityMode

[Missing <param name="entityMode"/> documentation for "M:NHibernate.Metadata.IClassMetadata.Instantiate(System.Object,NHibernate.EntityMode)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Metadata.IClassMetadata.Instantiate(System.Object,NHibernate.EntityMode)"]

See Also