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

DBHelperParameterCache.GetSpParameterSet Method (IDalSession, String, Boolean)

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, _
   ByVal Boolean As Boolean _
) As IDataParameter()
[C#]
public static IDataParameter[] GetSpParameterSet(
   IDalSession session,
   String spName,
   Boolean includeReturnValueParameter
);

Parameters

session
a valid session
spName
the name of the stored procedure
includeReturnValueParameter
a bool value indicating whether the return value parameter should be included in the results

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