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




KellermanSoftware.NetDataAccessLayer Namespace > BaseActiveRecord<T> Class > LoadWhere Method : LoadWhere<TR>(String,Dictionary<String,Object>) 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) _
) As List(Of TR)
Dim instance As BaseActiveRecord(Of T)
Dim whereClause As String
Dim parms As Dictionary(Of String,Object)
Dim value As List(Of TR)
 
value = instance.LoadWhere(Of TR)(whereClause, parms)
public List<TR> LoadWhere<TR>( 
   string whereClause,
   Dictionary<string,object> parms
)
where TR: class, new()
public: List<TR*>* LoadWhere<TR>( 
   string* whereClause,
   Dictionary<string*,Object*>* parms
) 
where TR: ref class, gcnew()
public:
List<TR^>^ LoadWheregeneric<typename TR>
( 
   String^ whereClause,
   Dictionary<String^,Object^>^ parms
) 
where TR: ref class, gcnew()

Parameters

whereClause
parms

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