Return a deep copy of the persistent state, stopping at entities and at collections.

Namespace:  NHibernate.UserTypes
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function DeepCopy ( _
	value As Object _
) As Object
C#
Object DeepCopy(
	Object value
)
Visual C++
Object^ DeepCopy(
	Object^ value
)
JavaScript
function deepCopy(value);

Parameters

value
Type: System..::.Object
generally a collection element or entity field

Return Value

See Also