When implemented by a class, returns a deep copy of the persistent state.

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

Syntax

Visual Basic (Declaration)
Public MustOverride Function DeepCopyNotNull ( _
	val As Object _
) As Object
C#
public abstract Object DeepCopyNotNull(
	Object val
)
Visual C++
public:
virtual Object^ DeepCopyNotNull(
	Object^ val
) abstract
JavaScript
function deepCopyNotNull(val);

Parameters

val
Type: System..::.Object
The value to deep copy.

Return Value

A deep copy of the object.

Remarks

Most of the built in NullableTypes will just return the same object passed into it.

See Also