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




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class > LoadOne Method : LoadOne(String,String,Dictionary<String,Object>) Method
The name of the table
A SQL where clause
The parameters to use for the where clause
Get a single record from a table with a parameterized where clause
Syntax
Public Overloads Function LoadOne( _
   ByVal tableName As String, _
   ByVal whereClause As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As Dictionary(Of String,Object)
Dim instance As BaseDatabaseProvider
Dim tableName As String
Dim whereClause As String
Dim parameters As Dictionary(Of String,Object)
Dim value As Dictionary(Of String,Object)
 
value = instance.LoadOne(tableName, whereClause, parameters)

Parameters

tableName
The name of the table
whereClause
A SQL where clause
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