IDataAccessable..::..GetParameters Method
Returns the parameter values for the specified stored procedure, in the exact
order the procedure expects them.
Namespace:
AdvantageCMS.Data.InterfacesAssembly: AdvantageCMS.Data (in AdvantageCMS.Data.dll)
Syntax
Parameters
- commandName
- Type: String
The stored procedure name (e.g. "Customer_InsertUpdate"). Implementations typically use a switch statement to return different parameter arrays for each supported procedure.
Return Value
An ordered Object[] whose elements correspond positionally to the stored procedure's parameters. Return an empty array for procedures that take no parameters.Remarks
Parameter order is critical — values are bound by position, not by name. If you add or reorder parameters in the stored procedure, you must update this array to match.
Complex types such as DataTable are supported for table-valued parameters. Convert lists or collections to a DataTable before including them in the array.

