Knight Data Access Layer
LoadOne(String,String,Object) Method




KellermanSoftware.NetDataAccessLayer Namespace > IDatabaseProvider Interface > LoadOne Method : LoadOne(String,String,Object) Method
The name of the table
Column name in the database
The value of the column to search for
Get one record where it is equal to the passed columnValue
Syntax
Overloads Function LoadOne( _
   ByVal tableName As String, _
   ByVal columnName As String, _
   ByVal columnValue As Object _
) As Dictionary(Of String,Object)
Dim instance As IDatabaseProvider
Dim tableName As String
Dim columnName As String
Dim columnValue As Object
Dim value As Dictionary(Of String,Object)
 
value = instance.LoadOne(tableName, columnName, columnValue)

Parameters

tableName
The name of the table
columnName
Column name in the database
columnValue
The value of the column to search for
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

IDatabaseProvider Interface
IDatabaseProvider Members
Overload List