SpParameter Constructor
- Last UpdatedMar 17, 2026
- 1 minute read
The SpParameter class is used to define the input parameters that will be passed to the MES middleware when directly calling a stored procedure in the MES database using the ExecSp() and GetDsBySp() methods in the Core.DirectAccess class.
| Overload | Description |
|---|---|
| SpParameter Constructor(String,String) | Initializes a new instance of the SpParameter class that allows for an input parameter of type string to be defined. |
| SpParameter Constructor(String,Int32) | Initializes a new instance of the SpParameter class that allows for an input parameter of type integer to be defined. |
| SpParameter Constructor(String,Double) | Initializes a new instance of the SpParameter class that allows for an input parameter of type double to be defined. |
| SpParameter Constructor(String,DateTime) | Initializes a new instance of the SpParameter class that allows for an input parameter of type DateTime to be defined. |
| SpParameter Constructor(String,Boolean) | Initializes a new instance of the SpParameter class that allows for an input parameter of type bool to be defined. |
| SpParameter Constructor(String,Decimal) | Initializes a new instance of the SpParameter class that allows for an input parameter of type decimal to be defined. |