SqlHelperParameterCache..::..GetSpParameterSet Method (String, String)

Retrieves the set of SqlParameters appropriate for the stored procedure

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

Syntax


public static SqlParameter[] GetSpParameterSet(
	string connectionString,
	string spName
)

Parameters

connectionString
Type: String
A valid connection string for a SqlConnection
spName
Type: String
The name of the stored procedure

Return Value

An array of SqlParameters

Remarks


This method will query the database for this information, and then store it in a cache for future requests.