Add a new collection (ie. a newly created one, just instantiated by the
            application, with no database state or snapshot)
            
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
void AddNewCollection( ICollectionPersister persister, IPersistentCollection collection )  | 
| Visual Basic | 
|---|
Sub AddNewCollection ( _ persister As ICollectionPersister, _ collection As IPersistentCollection _ )  | 
| Visual C++ | 
|---|
void AddNewCollection( ICollectionPersister^ persister, IPersistentCollection^ collection )  | 
Parameters
- persister
 - Type: NHibernate.Persister.Collection..::..ICollectionPersister
[Missing <param name="persister"/> documentation for "M:NHibernate.Engine.IPersistenceContext.AddNewCollection(NHibernate.Persister.Collection.ICollectionPersister,NHibernate.Collection.IPersistentCollection)"]
 
- collection
 - Type: NHibernate.Collection..::..IPersistentCollection
The collection to be associated with the persistence context