iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

DBHelperParameterCache.GetSpParameterSet Method (IDalSession, String)

Retrieves the set of IDataParameters appropriate for the stored procedure

[Visual Basic]
Overloads Public Shared Function GetSpParameterSet( _
   ByVal IDalSession As IDalSession, _
   ByVal String As String _
) As IDataParameter()
[C#]
public static IDataParameter[] GetSpParameterSet(
   IDalSession session,
   String spName
);

Parameters

session
a valid session
spName
the name of the stored procedure

Return Value

an array of IDataParameters

Remarks

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

See Also

DBHelperParameterCache Class | IBatisNet.Common.Utilities Namespace | DBHelperParameterCache.GetSpParameterSet Overload List