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




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class > 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 from a table by the passed column and value
Syntax
Public Overloads Overridable Function LoadOne( _
   ByVal tableName As String, _
   ByVal columnName As String, _
   ByVal columnValue As Object _
) As Dictionary(Of String,Object)
Dim instance As BaseDatabaseProvider
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)
public virtual Dictionary<string,object> LoadOne( 
   string tableName,
   string columnName,
   object columnValue
)
public: virtual Dictionary<string*,Object*>* LoadOne( 
   string* tableName,
   string* columnName,
   Object* columnValue
) 
public:
virtual Dictionary<String^,Object^>^ LoadOne( 
   String^ tableName,
   String^ columnName,
   Object^ 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

BaseDatabaseProvider Class
BaseDatabaseProvider Members
Overload List