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( 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | Thrown if connectionString is null |
System..::..ArgumentNullException | Thrown if commandText is null |