Reconstructs the object from its cached "disassembled" state.

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

Syntax

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

Parameters

cached
Type: System..::..Object
The disassembled state from the cache
session
Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor is not used by this method.
owner
Type: System..::..Object
The parent Entity object is not used by this method

Return Value

The assembled object.

Implements

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

Remarks

This method calls DeepCopy if the value is not null.

See Also