Initialize the collection, if possible, wrapping any exceptions in a runtime exception

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

Syntax

C#
protected virtual void Initialize(
	bool writing
)
Visual Basic
Protected Overridable Sub Initialize ( _
	writing As Boolean _
)
Visual C++
protected:
virtual void Initialize(
	bool writing
)

Parameters

writing
Type: System..::..Boolean
currently obsolete

Exceptions

ExceptionCondition
NHibernate..::..LazyInitializationExceptionif we cannot initialize

See Also