Disassembles the object into a cacheable representation.

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

Syntax

C#
public virtual Object Disassemble(
	Object value,
	ISessionImplementor session,
	Object owner
)
Visual Basic
Public Overridable Function Disassemble ( _
	value As Object, _
	session As ISessionImplementor, _
	owner As Object _
) As Object
Visual C++
public:
virtual Object^ Disassemble(
	Object^ value, 
	ISessionImplementor^ session, 
	Object^ owner
)

Parameters

value
Type: System..::..Object
The value to disassemble.
session
Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor is not used by this method.
owner
Type: System..::..Object
optional parent entity object (needed for collections)

Return Value

The disassembled, deep cloned state of the object

Implements

ICacheAssembler..::..Disassemble(Object, ISessionImplementor, Object)

Remarks

This method calls DeepCopy if the value is not null.

See Also