Add parameter array to the cache

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public void CacheParameterSet(
	string connectionString,
	string commandText,
	params IDataParameter[] commandParameters
)
Visual Basic
Public Sub CacheParameterSet ( 
	connectionString As String,
	commandText As String,
	ParamArray commandParameters As IDataParameter()
)

Parameters

connectionString
Type: System..::..String
A valid connection string for an IDbConnection
commandText
Type: System..::..String
The stored procedure name or SQL command
commandParameters
Type: array<System.Data..::..IDataParameter>[]()[][]
An array of IDataParameters to be cached

See Also