Give the interceptor an opportunity to override the default instantiation

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

Syntax

C#
public Object Instantiate(
	IEntityPersister persister,
	Object id
)
Visual Basic
Public Function Instantiate ( _
	persister As IEntityPersister, _
	id As Object _
) As Object
Visual C++
public:
virtual Object^ Instantiate(
	IEntityPersister^ persister, 
	Object^ id
) sealed

Parameters

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

[Missing <param name="persister"/> documentation for "M:NHibernate.Impl.SessionImpl.Instantiate(NHibernate.Persister.Entity.IEntityPersister,System.Object)"]

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Impl.SessionImpl.Instantiate(NHibernate.Persister.Entity.IEntityPersister,System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Impl.SessionImpl.Instantiate(NHibernate.Persister.Entity.IEntityPersister,System.Object)"]

Implements

IEventSource..::..Instantiate(IEntityPersister, Object)

See Also