add an (initialized) collection that was created by another session and passed
into update() (ie. one with a snapshot and existing state on the database)
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public void AddInitializedDetachedCollection( ICollectionPersister collectionPersister, IPersistentCollection collection ) |
Visual Basic |
---|
Public Sub AddInitializedDetachedCollection ( _ collectionPersister As ICollectionPersister, _ collection As IPersistentCollection _ ) |
Visual C++ |
---|
public: virtual void AddInitializedDetachedCollection( ICollectionPersister^ collectionPersister, IPersistentCollection^ collection ) sealed |
Parameters
- collectionPersister
- Type: NHibernate.Persister.Collection..::..ICollectionPersister
[Missing <param name="collectionPersister"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.AddInitializedDetachedCollection(NHibernate.Persister.Collection.ICollectionPersister,NHibernate.Collection.IPersistentCollection)"]
- collection
- Type: NHibernate.Collection..::..IPersistentCollection
[Missing <param name="collection"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.AddInitializedDetachedCollection(NHibernate.Persister.Collection.ICollectionPersister,NHibernate.Collection.IPersistentCollection)"]