Constructs an insert 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 GetInsertCommand(
	IDbConnection connection,
	string tableName,
	List<DbParameter> insertParameters
)
Visual Basic
Function GetInsertCommand ( _
	connection As IDbConnection, _
	tableName As String, _
	insertParameters As List(Of DbParameter) _
) As IDbCommand
Visual C++
IDbCommand^ GetInsertCommand(
	IDbConnection^ connection, 
	String^ tableName, 
	List<DbParameter^>^ insertParameters
)

Parameters

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

Return Value

DbCommand that can be used to issue an insert database command that inserts license data records.

See Also