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




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

Parameters

whereClause
The where clause
parms
The parameters to use for the where clause

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

ObjectCrud Class
ObjectCrud Members
Overload List