Retrieve a parameter array from the cache

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

Syntax

C#
public IDataParameter[] GetCachedParameterSet(
	string connectionString,
	string commandText
)
Visual Basic
Public Function GetCachedParameterSet ( 
	connectionString As String,
	commandText As String
) 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

Return Value

Type: array<IDataParameter>[]()[][]
An array of IDataParameters

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown if connectionString is null
System..::..ArgumentNullExceptionThrown if commandText is null

See Also