Set the value of the parent property.

Namespace: NHibernate.Tuple.Component
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void SetParent(
	Object component,
	Object parent,
	ISessionFactoryImplementor factory
)
Visual Basic
Sub SetParent ( _
	component As Object, _
	parent As Object, _
	factory As ISessionFactoryImplementor _
)
Visual C++
void SetParent(
	Object^ component, 
	Object^ parent, 
	ISessionFactoryImplementor^ factory
)

Parameters

component
Type: System..::..Object
The component instance on which to set the parent.
parent
Type: System..::..Object
The parent to be set on the component.
factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor
The current session factory.

See Also