Creates a delete 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 GetDeleteCommand(
	IDbConnection connection,
	string tableName,
	List<DbParameter> deleteWhereParameters
)
Visual Basic
Function GetDeleteCommand ( _
	connection As IDbConnection, _
	tableName As String, _
	deleteWhereParameters As List(Of DbParameter) _
) As IDbCommand
Visual C++
IDbCommand^ GetDeleteCommand(
	IDbConnection^ connection, 
	String^ tableName, 
	List<DbParameter^>^ deleteWhereParameters
)

Parameters

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

Return Value

DbCommand that will be used to issue a delete database command that removes license data records from the license database.

See Also