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# |
---|
public abstract void BeforeInitialize( ICollectionPersister persister, int anticipatedSize ) |
Visual Basic |
---|
Public MustOverride Sub BeforeInitialize ( _ persister As ICollectionPersister, _ anticipatedSize As Integer _ ) |
Visual C++ |
---|
public: virtual void BeforeInitialize( ICollectionPersister^ persister, int anticipatedSize ) abstract |
Parameters
- persister
- Type: NHibernate.Persister.Collection..::..ICollectionPersister
The underlying collection persister.
- anticipatedSize
- Type: System..::..Int32
The anticipated size of the collection after initilization is complete.