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(
	IDbConnection connection,
	string commandText,
	params IDataParameter[] commandParameters
)
Visual Basic
Public Sub CacheParameterSet ( 
	connection As IDbConnection,
	commandText As String,
	ParamArray commandParameters As IDataParameter()
)

Parameters

connection
Type: System.Data..::..IDbConnection
A valid 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