Create a new proxy instance

Namespace:  NHibernate.Persister.Entity
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function CreateProxy ( _
	id As Object, _
	session As ISessionImplementor _
) As Object
C#
Object CreateProxy(
	Object id,
	ISessionImplementor session
)
Visual C++
Object^ CreateProxy(
	Object^ id, 
	ISessionImplementor^ session
)
JavaScript
function createProxy(id, session);

Return Value

See Also