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




KellermanSoftware.NetDataAccessLayer.Providers Namespace > PostgreSqlProvider 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 Overrides Function LoadOne( _
   ByVal tableName As String, _
   ByVal columnName As String, _
   ByVal columnValue As Object _
) As Dictionary(Of String,Object)
Dim instance As PostgreSqlProvider
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 override Dictionary<string,object> LoadOne( 
   string tableName,
   string columnName,
   object columnValue
)
public: Dictionary<string*,Object*>* LoadOne( 
   string* tableName,
   string* columnName,
   Object* columnValue
) override 
public:
Dictionary<String^,Object^>^ LoadOne( 
   String^ tableName,
   String^ columnName,
   Object^ columnValue
) override 

Parameters

tableName
The name of the table
columnName
Column name in the database
columnValue
The value of the column to search for

Return Value

Dictionary<System.String, System.Object>.
Remarks
This is overridden because PostgreSQL does not support Square Brackets
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

PostgreSqlProvider Class
PostgreSqlProvider Members
Overload List