SqlHelperParameterCache..::..CacheParameterSet Method

Add parameter array to the cache

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

Syntax


public static void CacheParameterSet(
	string connectionString,
	string commandText,
	params SqlParameter[] commandParameters
)

Parameters

connectionString
Type: String
A valid connection string for a SqlConnection
commandText
Type: String
The stored procedure name or T-SQL command
commandParameters
Type: array<SqlParameter>[]()[][]
An array of SqlParamters to be cached

Exceptions


ExceptionCondition
ArgumentNullException connectionString or commandText