Removes a persistent collection from a specified owner.
Namespace: NHibernate.ActionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public CollectionRemoveAction( Object affectedOwner, ICollectionPersister persister, Object id, bool emptySnapshot, ISessionImplementor session ) |
Visual Basic |
---|
Public Sub New ( _ affectedOwner As Object, _ persister As ICollectionPersister, _ id As Object, _ emptySnapshot As Boolean, _ session As ISessionImplementor _ ) |
Visual C++ |
---|
public: CollectionRemoveAction( Object^ affectedOwner, ICollectionPersister^ persister, Object^ id, bool emptySnapshot, ISessionImplementor^ session ) |
Parameters
- affectedOwner
- Type: System..::..Object
The collection's owner; 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 to be removed has not been loaded.