Knight Data Access Layer
LoadWhere<TR>(String,Dictionary<String,Object>,String) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseActiveRecord<T> Class > LoadWhere Method : LoadWhere<TR>(String,Dictionary<String,Object>,String) Method
Load entities matching the passed in where clause
Syntax
Public Overloads Function LoadWhere(Of TR As {Class, New})( _
   ByVal whereClause As String, _
   ByVal parms As Dictionary(Of String,Object), _
   ByVal orderBy As String _
) As List(Of TR)
Dim instance As BaseActiveRecord(Of T)
Dim whereClause As String
Dim parms As Dictionary(Of String,Object)
Dim orderBy As String
Dim value As List(Of TR)
 
value = instance.LoadWhere(Of TR)(whereClause, parms, orderBy)
public List<TR> LoadWhere<TR>( 
   string whereClause,
   Dictionary<string,object> parms,
   string orderBy
)
where TR: class, new()
public: List<TR*>* LoadWhere<TR>( 
   string* whereClause,
   Dictionary<string*,Object*>* parms,
   string* orderBy
) 
where TR: ref class, gcnew()
public:
List<TR^>^ LoadWheregeneric<typename TR>
( 
   String^ whereClause,
   Dictionary<String^,Object^>^ parms,
   String^ orderBy
) 
where TR: ref class, gcnew()

Parameters

whereClause
parms
orderBy

Type Parameters

TR
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

BaseActiveRecord<T> Class
BaseActiveRecord<T> Members
Overload List