NET Caching Library Help
Load(String,Dictionary<String,Object>) Method




KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace > BaseDatabaseProvider Class > Load Method : Load(String,Dictionary<String,Object>) Method
The SQL text to execute
The parameters to use for the where clause
Get a list of records using the passed SQL
Syntax
'Declaration
 
Public Overloads Overridable Function Load( _
   ByVal sql As System.String, _
   ByVal parameters As System.Collections.Generic.Dictionary(Of String,Object) _
) As System.Collections.Generic.List(Of Dictionary(Of String,Object))
'Usage
 
Dim instance As BaseDatabaseProvider
Dim sql As System.String
Dim parameters As System.Collections.Generic.Dictionary(Of String,Object)
Dim value As System.Collections.Generic.List(Of Dictionary(Of String,Object))
 
value = instance.Load(sql, parameters)
public virtual System.Collections.Generic.List<Dictionary<string,object>> Load( 
   System.string sql,
   System.Collections.Generic.Dictionary<string,object> parameters
)
public: virtual System.Collections.Generic.List<Dictionary<string*,Object*>*>* Load( 
   System.string* sql,
   System.Collections.Generic.Dictionary<string*,Object*>* parameters
) 
public:
virtual System.Collections.Generic.List<Dictionary<String^,Object^>^>^ Load( 
   System.String^ sql,
   System.Collections.Generic.Dictionary<String^,Object^>^ parameters
) 

Parameters

sql
The SQL text to execute
parameters
The parameters to use for the where clause
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

BaseDatabaseProvider Class
BaseDatabaseProvider Members
Overload List