Removes a persistent collection from its loaded owner.
Namespace: NHibernate.ActionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public CollectionRemoveAction( IPersistentCollection collection, ICollectionPersister persister, Object id, bool emptySnapshot, ISessionImplementor session ) |
Visual Basic |
---|
Public Sub New ( _ collection As IPersistentCollection, _ persister As ICollectionPersister, _ id As Object, _ emptySnapshot As Boolean, _ session As ISessionImplementor _ ) |
Visual C++ |
---|
public: CollectionRemoveAction( IPersistentCollection^ collection, ICollectionPersister^ persister, Object^ id, bool emptySnapshot, ISessionImplementor^ session ) |
Parameters
- collection
- Type: NHibernate.Collection..::..IPersistentCollection
The collection to to remove; must be non-null
- persister
- Type: NHibernate.Persister.Collection..::..ICollectionPersister
The collection's persister
- id
- Type: System..::..Object
The collection key
- emptySnapshot
- Type: System..::..Boolean
Indicates if the snapshot is empty
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The session
Remarks
Use this constructor when the collection is non-null.