Called before any elements are read into the collection,
allowing appropriate initializations to occur.
Namespace: NHibernate.CollectionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void BeforeInitialize( ICollectionPersister persister, int anticipatedSize ) |
Visual Basic |
---|
Sub BeforeInitialize ( _ persister As ICollectionPersister, _ anticipatedSize As Integer _ ) |
Visual C++ |
---|
void BeforeInitialize( ICollectionPersister^ persister, int anticipatedSize ) |
Parameters
- persister
- Type: NHibernate.Persister.Collection..::..ICollectionPersister
The ICollectionPersister for this persistent collection.
- anticipatedSize
- Type: System..::..Int32
The anticipated size of the collection after initilization is complete.