Set the parent entity for this entity. This entity type must be in the allowed list of parent entity for children. This method is equal to move the current enity around.

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
[ObsoleteAttribute]
void SetParent<TInterface>(
	TInterface newParent
)
where TInterface : IEntity
Visual Basic
<ObsoleteAttribute> _
Sub SetParent(Of TInterface As IEntity) ( _
	newParent As TInterface _
)
Visual C++
[ObsoleteAttribute]
generic<typename TInterface>
where TInterface : IEntity
void SetParent(
	TInterface newParent
)

Parameters

newParent
Type: TInterface
New parent entity

Type Parameters

TInterface
Parent entity type, must be derived from IEntity interface

Field Value

Void

See Also