Force initialization of a proxy or persistent collection.

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

Syntax

C#
public static void Initialize(
	Object proxy
)
Visual Basic
Public Shared Sub Initialize ( _
	proxy As Object _
)
Visual C++
public:
static void Initialize(
	Object^ proxy
)

Parameters

proxy
Type: System..::..Object
a persistable object, proxy, persistent collection or null

Exceptions

ExceptionCondition
NHibernate..::..HibernateExceptionif we can't initialize the proxy at this time, eg. the Session was closed

See Also