Knight Data Access Layer
LoadAll<T>() Method




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > LoadAll Method : LoadAll<T>() Method
Generic class type
Load all the records from a table into a class list
Syntax
Public Overloads Function LoadAll(Of T As {Class, New})() As List(Of T)
Dim instance As ObjectCrud
Dim value As List(Of T)
 
value = instance.LoadAll(Of T)()
public List<T> LoadAll<T>()
where T: class, new()
public: List<T*>* LoadAll<T>(); 
where T: ref class, gcnew()
public:
List<T^>^ LoadAllgeneric<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