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




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface > Load Method : Load<T>(String) Method
Generic class type
The SQL text to execute
Load the passed sql into a list of objects
Syntax
Overloads Function Load(Of T As {Class, New})( _
   ByVal sql As String _
) As List(Of T)
Dim instance As IObjectCrud
Dim sql As String
Dim value As List(Of T)
 
value = instance.Load(Of T)(sql)
List<T> Load<T>( 
   string sql
)
where T: class, new()
List<T*>* Load<T>( 
   string* sql
) 
where T: ref class, gcnew()
List<T^>^ Loadgeneric<typename T>
( 
   String^ sql
) 
where T: ref class, gcnew()

Parameters

sql
The SQL text to execute

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

IObjectCrud Interface
IObjectCrud Members
Overload List