Knight Data Access Layer
LoadWhere<T>(String,IEnumerable<Object>,String) Method




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface > LoadWhere Method : LoadWhere<T>(String,IEnumerable<Object>,String) Method
The entity type
The where clause
The parameters to use for the where clause
The order for the list
Load entities matching the passed in where clause, ordering by the order clause
Syntax
Overloads Function LoadWhere(Of T As {Class, New})( _
   ByVal whereClause As String, _
   ByVal nameValueParameters As IEnumerable(Of Object), _
   ByVal orderBy As String _
) As List(Of T)
Dim instance As IDataHelper
Dim whereClause As String
Dim nameValueParameters As IEnumerable(Of Object)
Dim orderBy As String
Dim value As List(Of T)
 
value = instance.LoadWhere(Of T)(whereClause, nameValueParameters, orderBy)
List<T> LoadWhere<T>( 
   string whereClause,
   IEnumerable<object> nameValueParameters,
   string orderBy
)
where T: class, new()
List<T*>* LoadWhere<T>( 
   string* whereClause,
   IEnumerable<Object*>* nameValueParameters,
   string* orderBy
) 
where T: ref class, gcnew()
List<T^>^ LoadWheregeneric<typename T>
( 
   String^ whereClause,
   IEnumerable<Object^>^ nameValueParameters,
   String^ orderBy
) 
where T: ref class, gcnew()

Parameters

whereClause
The where clause
nameValueParameters
The parameters to use for the where clause
orderBy
The order for the list

Type Parameters

T
The entity 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

IDataHelper Interface
IDataHelper Members
Overload List