Initialize the collection (if not already initialized)

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

Syntax

C#
void InitializeCollection(
	IPersistentCollection collection,
	bool writing
)
Visual Basic
Sub InitializeCollection ( _
	collection As IPersistentCollection, _
	writing As Boolean _
)
Visual C++
void InitializeCollection(
	IPersistentCollection^ collection, 
	bool writing
)

Parameters

collection
Type: NHibernate.Collection..::..IPersistentCollection

[Missing <param name="collection"/> documentation for "M:NHibernate.Engine.ISessionImplementor.InitializeCollection(NHibernate.Collection.IPersistentCollection,System.Boolean)"]

writing
Type: System..::..Boolean

[Missing <param name="writing"/> documentation for "M:NHibernate.Engine.ISessionImplementor.InitializeCollection(NHibernate.Collection.IPersistentCollection,System.Boolean)"]

See Also