MapGuide API Reference
|
The MgParameter class specifies a value for a particular parameter. Instances of this class are used to specify a value to bind to a parameter when a command is executed. Typically, it is used to bind parameters to the SQL command. More...
Public Member Functions | |
INT32 | GetDirection () |
Gets the function direction value of the the command parameter, which is defined in MgParameterDirection. | |
STRING | GetName () |
Gets the parameter name. | |
MgNullableProperty * | GetProperty () |
Gets the name and value of the parameter. | |
MgParameter (MgNullableProperty *prop) | |
Constructs an MgParameter object. The default parameter direction is input. | |
MgParameter (MgNullableProperty *prop, INT32 direction) | |
Constructs an MgParameter object with the specified parameter name, value, and direction. | |
void | SetDirection (INT32 value) |
Sets the function direction of the parameter value, which is defined in MgParameterDirection. | |
void | SetName (CREFSTRING name) |
void | SetProperty (MgNullableProperty *prop) |
Sets the name and value of the parameter. |
The MgParameter class specifies a value for a particular parameter. Instances of this class are used to specify a value to bind to a parameter when a command is executed. Typically, it is used to bind parameters to the SQL command.