Get all "orphaned" elements

Namespace: NHibernate.Collection
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
ICollection GetOrphans(
	Object snapshot,
	string entityName
)
Visual Basic
Function GetOrphans ( _
	snapshot As Object, _
	entityName As String _
) As ICollection
Visual C++
ICollection^ GetOrphans(
	Object^ snapshot, 
	String^ entityName
)

Parameters

snapshot
Type: System..::..Object
The snapshot of the collection.
entityName
Type: System..::..String
The persistent class whose objects the collection is expected to contain.

Return Value

An ICollection that contains all of the elements that have been orphaned.

See Also