Set parent.
If parent is null, set current folio item's owner folio
as original parent's owner folio, so it will not become orphan
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
void SetParent<TInterface, TClass>(
TInterface newParent
)
where TInterface : IEntity
where TClass : class, new(), TInterface
|
Visual Basic |
---|
Sub SetParent(Of TInterface As IEntity, TClass As {Class, New, TInterface}) ( _
newParent As TInterface _
) |
Visual C++ |
---|
generic<typename TInterface, typename TClass>
where TInterface : IEntity
where TClass : ref class, gcnew(), TInterface
void SetParent(
TInterface newParent
) |
Parameters
- newParent
- Type: TInterface
New parent, can be null
Type Parameters
- TInterface
- Interface Type to return
- TClass
- Class type to construct
Field Value
Void
Implements
IEntity..::..SetParent<(Of <<'(TInterface>)>>)(TInterface)See Also