Possibly unproxy the given reference and reassociate it with the current session.

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

Syntax

C#
public Object UnproxyAndReassociate(
	Object maybeProxy
)
Visual Basic
Public Function UnproxyAndReassociate ( _
	maybeProxy As Object _
) As Object
Visual C++
public:
virtual Object^ UnproxyAndReassociate(
	Object^ maybeProxy
) sealed

Parameters

maybeProxy
Type: System..::..Object
The reference to be unproxied if it currently represents a proxy.

Return Value

The unproxied instance.

Implements

IPersistenceContext..::..UnproxyAndReassociate(Object)

See Also