Knight Data Access Layer
LoadAll<T>(String) Method




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > LoadAll Method : LoadAll<T>(String) 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})( _
   ByVal orderBy As String _
) As List(Of T)
Dim instance As ObjectCrud
Dim orderBy As String
Dim value As List(Of T)
 
value = instance.LoadAll(Of T)(orderBy)
public List<T> LoadAll<T>( 
   string orderBy
)
where T: class, new()
public: List<T*>* LoadAll<T>( 
   string* orderBy
) 
where T: ref class, gcnew()
public:
List<T^>^ LoadAllgeneric<typename T>
( 
   String^ orderBy
) 
where T: ref class, gcnew()

Parameters

orderBy

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