Initialize the collection, if possible, wrapping any exceptions
in a runtime exception
Namespace: NHibernate.CollectionAssembly: 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
Exception | Condition |
---|---|
NHibernate..::..LazyInitializationException | if we cannot initialize |