Knight Data Access Layer
LoadAllWithChildren<T>() Method




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud 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 Function LoadAllWithChildren(Of T As {Class, New})() As List(Of T)
Dim instance As ObjectCrud
Dim value As List(Of T)
 
value = instance.LoadAllWithChildren(Of T)()
public List<T> LoadAllWithChildren<T>()
where T: class, new()
public: List<T*>* LoadAllWithChildren<T>(); 
where T: ref class, gcnew()
public:
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

ObjectCrud Class
ObjectCrud Members
Overload List