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




KellermanSoftware.NetDataAccessLayer Namespace > TableCrud Class > Update Method : Update(String,Dictionary<String,Object>,Dictionary<String,Object>) Method
The name of the table
The parameters to use for the where clause
A list of composite keys for the table
Update a record in the database by a composite key
Syntax
Public Overloads Function Update( _
   ByVal tableName As String, _
   ByVal parameters As Dictionary(Of String,Object), _
   ByVal compositeKeys As Dictionary(Of String,Object) _
) As Integer
Dim instance As TableCrud
Dim tableName As String
Dim parameters As Dictionary(Of String,Object)
Dim compositeKeys As Dictionary(Of String,Object)
Dim value As Integer
 
value = instance.Update(tableName, parameters, compositeKeys)

Parameters

tableName
The name of the table
parameters
The parameters to use for the where clause
compositeKeys
A list of composite keys for the table
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

TableCrud Class
TableCrud Members
Overload List