SqlHelperParameterCache..::..GetCachedParameterSet Method

Retrieve a parameter array from the cache

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static SqlParameter[] GetCachedParameterSet(
	string connectionString,
	string commandText
)

Parameters

connectionString
Type: String
A valid connection string for a SqlConnection
commandText
Type: String
The stored procedure name or T-SQL command

Return Value

An array of SqlParamters

Exceptions


ExceptionCondition
ArgumentNullException connectionString or commandText