NET Caching Library Help
Update Method




KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace > BaseDatabaseProvider Class : Update Method
Name of the table.
The primary key.
The primary key value.
The parameters.
Updates the specified table name.
Syntax
'Declaration
 
Public Function Update( _
   ByVal tableName As System.String, _
   ByVal primaryKey As System.String, _
   ByVal primaryKeyValue As System.Object, _
   ByVal parameters As System.Collections.Generic.Dictionary(Of String,Object) _
) As System.Integer
'Usage
 
Dim instance As BaseDatabaseProvider
Dim tableName As System.String
Dim primaryKey As System.String
Dim primaryKeyValue As System.Object
Dim parameters As System.Collections.Generic.Dictionary(Of String,Object)
Dim value As System.Integer
 
value = instance.Update(tableName, primaryKey, primaryKeyValue, parameters)
public System.int Update( 
   System.string tableName,
   System.string primaryKey,
   System.object primaryKeyValue,
   System.Collections.Generic.Dictionary<string,object> parameters
)
public: System.int Update( 
   System.string* tableName,
   System.string* primaryKey,
   System.Object* primaryKeyValue,
   System.Collections.Generic.Dictionary<string*,Object*>* parameters
) 
public:
System.int Update( 
   System.String^ tableName,
   System.String^ primaryKey,
   System.Object^ primaryKeyValue,
   System.Collections.Generic.Dictionary<String^,Object^>^ parameters
) 

Parameters

tableName
Name of the table.
primaryKey
The primary key.
primaryKeyValue
The primary key value.
parameters
The parameters.

Return Value

System.Int32.
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