Retrieve a parameter array from the cache
            
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# | 
|---|
public IDataParameter[] GetCachedParameterSet( IDbConnection connection, string commandText )  | 
| Visual Basic | 
|---|
Public Function GetCachedParameterSet ( connection As IDbConnection, commandText As String ) As IDataParameter()  | 
Parameters
- connection
 - Type: System.Data..::..IDbConnection
A valid IDbConnection object 
- commandText
 - Type: System..::..String
The stored procedure name or SQL command 
Return Value
Type: array<IDataParameter>[]()[][]An array of IDataParameters
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentNullException | Thrown if commandText is null | 
| System..::..ArgumentNullException | Thrown if connection is null |