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




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface > LoadWithChildren Method : LoadWithChildren<T>(T) Method
Generic class type
Load all the records from a table and its children and parents into a class list
Syntax
Overloads Function LoadWithChildren(Of T As {Class, New})( _
   ByVal entity As T _
) As T
Dim instance As IDataHelper
Dim entity As T
Dim value As T
 
value = instance.LoadWithChildren(Of T)(entity)
T LoadWithChildren<T>( 
   T entity
)
where T: class, new()
T* LoadWithChildren<T>( 
   T* entity
) 
where T: ref class, gcnew()
T^ LoadWithChildrengeneric<typename T>
( 
   T^ entity
) 
where T: ref class, gcnew()

Parameters

entity

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

IDataHelper Interface
IDataHelper Members
Overload List