Knight Data Access Layer
LoadAllWithChildren<T>() Method




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class > LoadAllWithChildren Method : LoadAllWithChildren<T>() Method
Generic class type
Load all the records from a table and its children and parents into a class list
Syntax
Public Overloads Overridable Function LoadAllWithChildren(Of T As {Class, New})() As List(Of T)
Dim instance As DataHelper
Dim value As List(Of T)
 
value = instance.LoadAllWithChildren(Of T)()
public virtual List<T> LoadAllWithChildren<T>()
where T: class, new()
public: virtual List<T*>* LoadAllWithChildren<T>(); 
where T: ref class, gcnew()
public:
virtual List<T^>^ LoadAllWithChildrengeneric<typename T>
(); 
where T: ref class, gcnew()

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

DataHelper Class
DataHelper Members
Overload List