Knight Data Access Layer
LoadOne(String) Method




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class > LoadOne Method : LoadOne(String) Method
The table name to use
Load the first record in a table and return a dictionary of columns or null if there are no records.
Syntax
Public Overloads Overridable Function LoadOne( _
   ByVal tableName As String _
) As Dictionary(Of String,Object)
Dim instance As DataHelper
Dim tableName As String
Dim value As Dictionary(Of String,Object)
 
value = instance.LoadOne(tableName)
public virtual Dictionary<string,object> LoadOne( 
   string tableName
)
public: virtual Dictionary<string*,Object*>* LoadOne( 
   string* tableName
) 
public:
virtual Dictionary<String^,Object^>^ LoadOne( 
   String^ tableName
) 

Parameters

tableName
The table name to use

Return Value

Dictionary of columns
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

DataHelper Class
DataHelper Members
Overload List