Knight Data Access Layer
SaveWithChildren<T>(T) Method




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface > SaveWithChildren Method : SaveWithChildren<T>(T) Method
Generic class type
An object instance
Save an object with its parent and children
Syntax
Overloads Function SaveWithChildren(Of T As {Class, New})( _
   ByVal entity As T _
) As T
Dim instance As IObjectCrud
Dim entity As T
Dim value As T
 
value = instance.SaveWithChildren(Of T)(entity)
T SaveWithChildren<T>( 
   T entity
)
where T: class, new()
T* SaveWithChildren<T>( 
   T* entity
) 
where T: ref class, gcnew()
T^ SaveWithChildrengeneric<typename T>
( 
   T^ entity
) 
where T: ref class, gcnew()

Parameters

entity
An object instance

Type Parameters

T
Generic class type
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IObjectCrud Interface
IObjectCrud Members
Overload List