Creates an update database command for the specified parameters.

Namespace: SimpleMode.SecureLicenseManager.Data
Assembly: SimpleMode.SecureLicenseManager.Data (in SimpleMode.SecureLicenseManager.Data.dll) Version: 1.5.5120.0 (1.5.5120.0)

Syntax

C#
IDbCommand GetUpdateCommand(
	IDbConnection connection,
	string tableName,
	List<DbParameter> updateParameters,
	List<DbParameter> updateWhereParameters
)
Visual Basic
Function GetUpdateCommand ( _
	connection As IDbConnection, _
	tableName As String, _
	updateParameters As List(Of DbParameter), _
	updateWhereParameters As List(Of DbParameter) _
) As IDbCommand
Visual C++
IDbCommand^ GetUpdateCommand(
	IDbConnection^ connection, 
	String^ tableName, 
	List<DbParameter^>^ updateParameters, 
	List<DbParameter^>^ updateWhereParameters
)

Parameters

connection
Type: System.Data..::..IDbConnection
Connection to the license database.
tableName
Type: System..::..String
The name of the table the update command will be constructed for.
updateParameters
Type: System.Collections.Generic..::..List<(Of <(<'DbParameter>)>)>
The list of DbParameter that will be used to construct the update database command.
updateWhereParameters
Type: System.Collections.Generic..::..List<(Of <(<'DbParameter>)>)>
The list of DbParameter that will be used to construct the where clause of the update database command.

Return Value

DbCommand that will be used to issue an update database command that updates license data records.

See Also